/* Layout: left-hung editorial column over a warm canvas, real product UI set flat in hairline frames, one dark band for the developer story. Tokens follow the Compliance Hub "Calm" system. */
:root {
  --canvas: #f7f7f5;
  --surface: #ffffff;
  --sunken: #f1f1ef;
  --sidebar: #faf9f6;
  --hairline: #e7e5e0;
  --hairline-strong: #d9d6cf;
  --ink: #202124;
  --ink-2: #5f636b;
  --ink-3: #9ca0a7;
  --accent: #6548e8;
  --accent-hover: #5638d9;
  --accent-wash: #f5f2ff;
  --accent-wash-border: #ded6ff;
  --success: #248653; --success-wash: #eaf7ef;
  --attention: #c77a13; --attention-wash: #fff5e3;
  --error: #d84b4b; --error-wash: #fceded;
  --info: #3777d5; --info-wash: #eaf3ff;
  --teal: #0e9384; --teal-wash: #e6f4f1;
  --band: #16151c; --band-raised: #1f1e27; --band-hairline: #2e2c38; --band-ink: #f4f3f0; --band-ink-2: #a5a3ae;
  --shadow: 0 1px 2px rgba(29,30,35,.05), 0 12px 32px -12px rgba(29,30,35,.14);
  --font-ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --r-card: 14px; --r-btn: 8px; --r-chip: 6px;
  --ease: cubic-bezier(.2,.6,.2,1);
}
@media not all { :root:not([data-theme="light"]) {
  --canvas: #121216; --surface: #1a1a20; --sunken: #202027; --sidebar: #16161b;
  --hairline: #2a2a32; --hairline-strong: #383842;
  --ink: #f2f1ee; --ink-2: #a9abb3; --ink-3: #74767e;
  --accent: #8b74ff; --accent-hover: #9d89ff; --accent-wash: #241f3d; --accent-wash-border: #3a3163;
  --success: #4cbb7f; --success-wash: #17271f; --attention: #e2a04a; --attention-wash: #2b2216;
  --error: #ef6b6b; --error-wash: #2d1a1a; --info: #6aa1f0; --info-wash: #17223a; --teal: #3cc0ad; --teal-wash: #13282a;
  --band: #0b0b0e; --band-raised: #15151a; --band-hairline: #26262e;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 16px 40px -16px rgba(0,0,0,.6);
  color-scheme: dark;
} }
:root[data-theme="zenoo-never"] {
  --canvas: #121216; --surface: #1a1a20; --sunken: #202027; --sidebar: #16161b;
  --hairline: #2a2a32; --hairline-strong: #383842;
  --ink: #f2f1ee; --ink-2: #a9abb3; --ink-3: #74767e;
  --accent: #8b74ff; --accent-hover: #9d89ff; --accent-wash: #241f3d; --accent-wash-border: #3a3163;
  --success: #4cbb7f; --success-wash: #17271f; --attention: #e2a04a; --attention-wash: #2b2216;
  --error: #ef6b6b; --error-wash: #2d1a1a; --info: #6aa1f0; --info-wash: #17223a; --teal: #3cc0ad; --teal-wash: #13282a;
  --band: #0b0b0e; --band-raised: #15151a; --band-hairline: #26262e;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 16px 40px -16px rgba(0,0,0,.6);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { overflow-x: clip; }
body { background: var(--canvas); color: var(--ink); font-family: var(--font-ui); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.wrap { max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
@media (max-width: 600px) { .wrap { padding-inline: 16px; } }
h1, h2, h3 { margin: 0; text-wrap: balance; color: var(--ink); }
p { margin: 0; }
.mono { font-family: var(--font-mono); }
.eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.08; letter-spacing: -.028em; font-weight: 600; }
.lead { font-size: 18px; color: var(--ink-2); max-width: 58ch; }
section { padding-block: clamp(64px, 9vw, 120px); }
.sec-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: 48px; }
.sec-head .lead { font-size: 17px; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding-inline: 18px; border-radius: var(--r-btn); font: 500 15px/1 var(--font-ui); text-decoration: none; border: 1px solid transparent; transition: background .15s var(--ease), border-color .15s var(--ease); cursor: pointer; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: var(--surface); border-color: var(--hairline-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink-3); }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn-sm { height: 34px; padding-inline: 14px; font-size: 14px; }

/* Nav */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--canvas) 86%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--hairline); }
.nav .wrap { display: flex; align-items: center; gap: 32px; height: 64px; }
.logo { display: flex; align-items: center; color: var(--accent); }
.logo svg { height: 16px; width: auto; }
.nav-links { display: flex; gap: 24px; font-size: 14.5px; color: var(--ink-2); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 16px; font-size: 14.5px; }
.nav-right .text-link { text-decoration: none; color: var(--ink-2); }
@media (max-width: 900px) { .nav-links, .nav-right .text-link { display: none; } }

/* Hero */
.hero { padding-block: clamp(56px, 8vw, 104px) 0; }
.hero-tag { display: inline-flex; align-items: center; gap: 10px; padding: 5px 12px 5px 6px; border: 1px solid var(--hairline); background: var(--surface); border-radius: 999px; font-size: 13px; color: var(--ink-2); text-decoration: none; }
.hero-tag b { font: 500 11px/1 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--accent); background: var(--accent-wash); border: 1px solid var(--accent-wash-border); padding: 4px 7px; border-radius: 999px; }
.hero h1 { margin-top: 28px; font-size: clamp(40px, 7vw, 80px); line-height: 1.0; letter-spacing: -.04em; font-weight: 600; max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { margin-top: 24px; font-size: clamp(17px, 1.6vw, 20px); }
.hero-ctas { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 12px; }
.qualifier { font: 400 13px/1.4 var(--font-mono); color: var(--ink-3); margin-left: 8px; }

/* App frame (HTML rendering of the Compliance Hub inbox) */
.stage { margin-top: clamp(48px, 7vw, 80px); position: relative; }
.app { background: var(--surface); border: 1px solid var(--hairline); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; display: grid; grid-template-columns: 220px 1fr; min-height: 470px; }
.app-side { background: var(--sidebar); border-right: 1px solid var(--hairline); padding: 18px 12px; font-size: 13.5px; }
.app-brand { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; padding: 2px 8px 16px; }
.app-brand i { width: 22px; height: 22px; border-radius: 6px; background: var(--accent); display: grid; place-items: center; color: #fff; font: 600 11px/1 var(--font-ui); font-style: normal; }
.side-item { display: flex; align-items: center; justify-content: space-between; padding: 7px 8px; border-radius: 7px; color: var(--ink-2); }
.side-item.on { background: var(--accent-wash); color: var(--accent); font-weight: 500; }
.side-item span:last-child { font: 400 11.5px/1 var(--font-mono); color: var(--ink-3); }
.side-label { font: 500 11px/1 var(--font-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); padding: 18px 8px 8px; }
.app-main { padding: 22px 26px; min-width: 0; }
.app-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.app-top h4 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.day { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; align-items: center; }
.day .lbl { font: 500 11px/1 var(--font-mono); letter-spacing: .05em; color: var(--ink-3); margin-right: 4px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: var(--r-chip); background: var(--sunken); color: var(--ink-2); font-size: 12.5px; white-space: nowrap; }
.chip b { font-weight: 600; color: var(--ink); }
.chip.warn { background: var(--attention-wash); color: var(--attention); }
.chip.warn b { color: var(--attention); }
.focus-btn { background: var(--accent); color: #fff; border-radius: var(--r-btn); font-size: 13px; font-weight: 500; padding: 7px 12px; }
.table-scroll { overflow-x: auto; margin-top: 18px; border-top: 1px solid var(--hairline); }
.rows { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 640px; }
.rows th { text-align: left; font-weight: 500; color: var(--ink-3); padding: 10px 8px; font-size: 12px; border-bottom: 1px solid var(--hairline); }
.rows td { padding: 11px 8px; border-bottom: 1px solid var(--hairline); white-space: nowrap; }
.rows td.item { font-weight: 500; }
.rows .why { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-weight: 400; font-size: 12px; margin-left: 10px; }
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; flex: none; }
.rows .case { font-family: var(--font-mono); color: var(--ink-2); font-size: 12px; }
.due { font-family: var(--font-mono); font-size: 12px; color: var(--ink-2); }
.due.late { color: var(--error); }
.effort { font-size: 11.5px; padding: 3px 7px; border-radius: 5px; background: var(--sunken); color: var(--ink-2); }
.avatar { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--surface); display: inline-grid; place-items: center; font: 600 9.5px/1 var(--font-ui); }
.hint { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; font: 500 12px/1 var(--font-mono); letter-spacing: .04em; color: var(--ink-2); }
.hint i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 50%, transparent); }
@media (prefers-reduced-motion: no-preference) { .hint i { animation: pulse 1.8s var(--ease) infinite; } @keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 45%, transparent); } 100% { box-shadow: 0 0 0 8px transparent; } } }
.rows tbody tr { cursor: pointer; transition: background .15s var(--ease); }
.rows tbody tr:hover { background: var(--sunken); }
.rows tbody tr.sel { background: var(--accent-wash); }
.rows tbody tr:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.rows .why.done { color: var(--success); font-weight: 500; }
.syn-case { font: 400 11.5px/1.3 var(--font-mono); color: var(--ink-3); margin: -4px 0 10px; }
.syn-actions button { font: 500 12.5px/1 var(--font-ui); padding: 7px 11px; border-radius: 999px; border: 1px solid var(--accent-wash-border); background: var(--accent-wash); color: var(--accent); cursor: pointer; }
.syn-actions button.alt { background: var(--surface); border-color: var(--hairline-strong); color: var(--ink-2); }
.syn-actions button:hover { border-color: var(--accent); }
.syn-actions button:disabled { opacity: .45; cursor: default; }
.syn-status { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--hairline); font-size: 12.5px; color: var(--success); display: flex; gap: 8px; align-items: baseline; }
.synopsis .verdict.amber { color: var(--attention); background: var(--attention-wash); }
.ev-row.fresh { animation: fresh 1.6s var(--ease); }
@keyframes fresh { from { background: var(--accent-wash); } to { background: transparent; } }
@media (prefers-reduced-motion: reduce) { .ev-row.fresh { animation: none; background: var(--accent-wash); } }
.synopsis { position: absolute; right: -12px; bottom: -36px; width: min(380px, 70%); background: var(--surface); border: 1px solid var(--accent-wash-border); border-radius: var(--r-card); box-shadow: var(--shadow); padding: 18px; font-size: 13.5px; }
.synopsis .head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.synopsis .ai { font: 500 11.5px/1 var(--font-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--accent); display: inline-flex; gap: 6px; align-items: center; }
.synopsis .verdict { font-size: 12px; font-weight: 500; color: var(--success); background: var(--success-wash); padding: 3px 8px; border-radius: 999px; }
.synopsis p { color: var(--ink-2); line-height: 1.5; }
.ev { margin-top: 12px; display: grid; gap: 6px; font: 400 12px/1.4 var(--font-mono); color: var(--ink-2); }
.ev div { display: flex; gap: 8px; align-items: baseline; }
.ev .ok { color: var(--success); }
.ev .no { color: var(--error); }
.syn-actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.syn-actions span.x { font-size: 12.5px; font-weight: 500; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--accent-wash-border); background: var(--accent-wash); color: var(--accent); }
.syn-actions span.x.alt { background: var(--surface); border-color: var(--hairline-strong); color: var(--ink-2); }
@media (max-width: 860px) {
  .app { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .synopsis { position: relative; right: auto; bottom: auto; width: auto; margin: -24px 12px 0; }
}

/* Proof strip */
.proof { padding-block: clamp(88px, 10vw, 128px) 0; }
.proof h2 { font-size: 15px; font-weight: 500; color: var(--ink-2); letter-spacing: 0; }
.stats { margin-top: 24px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.stat { padding: 28px 24px 28px 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--hairline); }
.stat .fig { font-size: clamp(28px, 3.4vw, 40px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat .fig small { display: block; margin-top: 4px; font-size: .45em; font-weight: 500; color: var(--ink-3); letter-spacing: -.01em; }
.stat .lab { margin-top: 8px; font-size: 14px; color: var(--ink-2); max-width: 24ch; }
.footnote { margin-top: 16px; font-size: 13px; color: var(--ink-3); max-width: 80ch; }
@media (max-width: 860px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--hairline); }
}

/* Product bento */
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-card); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.card-copy { padding: 28px 28px 0; }
.card-copy h3 { font-size: 20px; font-weight: 600; letter-spacing: -.015em; }
.card-copy p { margin-top: 8px; color: var(--ink-2); max-width: 48ch; }
.card-kicker { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.card-art { margin-top: 28px; padding: 0 0 0 28px; flex: 1; display: flex; align-items: flex-end; min-width: 0; }
.signals { width: 100%; border: 1px solid var(--hairline); border-right: 0; border-bottom: 0; border-radius: 12px 0 0 0; background: var(--canvas); padding: 10px; display: grid; gap: 8px; }
.signal { background: var(--surface); border: 1px solid var(--hairline); border-radius: 10px; padding: 12px 14px; display: grid; grid-template-columns: auto 1fr auto; gap: 4px 10px; align-items: center; font-size: 13.5px; }
.signal .t { font-weight: 500; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.signal .meta { grid-column: 2 / 4; display: flex; gap: 8px; flex-wrap: wrap; font-size: 12px; color: var(--ink-3); }
.pill { font-size: 11.5px; font-weight: 500; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.pill.red { color: var(--error); background: var(--error-wash); }
.pill.amber { color: var(--attention); background: var(--attention-wash); }
.pill.green { color: var(--success); background: var(--success-wash); }
.pill.violet { color: var(--accent); background: var(--accent-wash); }
.shot { border: 1px solid var(--hairline); border-right: 0; border-bottom: 0; border-radius: 12px 0 0 0; overflow: hidden; width: 100%; background: #fff; }
.shot img { width: 165%; max-width: none; }
.cols3 { margin-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mini { padding: 24px; border: 1px solid var(--hairline); border-radius: var(--r-card); background: var(--surface); }
.mini svg { width: 20px; height: 20px; color: var(--accent); }
.mini h3 { margin-top: 16px; font-size: 16px; font-weight: 600; }
.mini p { margin-top: 6px; font-size: 14.5px; color: var(--ink-2); }
@media (max-width: 860px) { .bento, .cols3 { grid-template-columns: 1fr; } }

/* Developer band */
.band { background: var(--band); color: var(--band-ink); }
.band h2, .band h3 { color: var(--band-ink); }
.band .lead { color: var(--band-ink-2); }
.band .eyebrow { color: var(--band-ink-2); }
.dev { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.steps { margin: 36px 0 0; padding: 0; list-style: none; display: grid; gap: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 32px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--band-hairline); }
.steps li::before { content: counter(s); width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--band-hairline); display: grid; place-items: center; font: 500 12px/1 var(--font-mono); color: var(--band-ink-2); }
.steps b { display: block; font-weight: 600; font-size: 15.5px; }
.steps span { display: block; font-size: 14.5px; color: var(--band-ink-2); margin-top: 2px; }
.term { background: var(--band-raised); border: 1px solid var(--band-hairline); border-radius: var(--r-card); overflow: hidden; min-width: 0; }
.term-tabs { display: flex; align-items: center; gap: 4px; padding: 8px; border-bottom: 1px solid var(--band-hairline); }
.term-tabs button { background: none; border: 0; color: var(--band-ink-2); font: 500 13px/1 var(--font-ui); padding: 8px 12px; border-radius: 7px; cursor: pointer; }
.term-tabs button[aria-selected="true"] { background: var(--band-hairline); color: var(--band-ink); }
.term-tabs .copy { margin-left: auto; }
.term pre { margin: 0; padding: 22px 24px; overflow-x: auto; font: 400 13.5px/1.75 var(--font-mono); color: var(--band-ink); }
.tok-s { color: #b9a8ff; } .tok-k { color: #7fd1c1; } .tok-c { color: #6f6d79; }
.agent { border-top: 1px solid var(--band-hairline); padding: 18px 24px 22px; display: grid; gap: 10px; }
.agent .eyebrow { margin-bottom: 4px; }
.agent-row { display: grid; grid-template-columns: 48px 1fr; gap: 10px; align-items: center; font: 400 13px/1 var(--font-mono); }
.agent-row span { color: var(--band-ink-2); font-size: 12px; }
.agent-row code { display: block; padding: 10px 12px; background: var(--band); border: 1px solid var(--band-hairline); border-radius: 8px; overflow-x: auto; white-space: nowrap; color: var(--band-ink); }
.agent small { color: var(--band-ink-2); font-size: 12.5px; margin-top: 4px; }
@media (max-width: 960px) { .dev { grid-template-columns: 1fr; gap: 40px; } }

/* Speed table */
.speed-table-wrap { overflow-x: auto; border: 1px solid var(--hairline); border-radius: var(--r-card); background: var(--surface); }
.speed { width: 100%; border-collapse: collapse; min-width: 600px; font-size: 15px; }
.speed th { text-align: left; font: 500 12px/1 var(--font-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); padding: 16px 24px; border-bottom: 1px solid var(--hairline); }
.speed td { padding: 18px 24px; border-bottom: 1px solid var(--hairline); font-variant-numeric: tabular-nums; }
.speed tr:last-child td { border-bottom: 0; }
.speed td:nth-child(2) { color: var(--ink-3); text-decoration: line-through; text-decoration-color: var(--hairline-strong); }
.speed td:nth-child(3) { font-weight: 600; color: var(--accent); }
.speed tr.total td { background: var(--accent-wash); }

/* Observability */
.frame { border: 1px solid var(--hairline); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.obs-notes { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.obs-notes div { border-top: 1px solid var(--hairline); padding-top: 14px; }
.obs-notes b { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.obs-notes p { margin-top: 6px; color: var(--ink-2); font-size: 14.5px; }
@media (max-width: 860px) { .obs-notes { grid-template-columns: 1fr; } }

/* Record */
.record { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--ink-2); }
.ticks svg { width: 18px; height: 18px; color: var(--success); margin-top: 3px; }
.trail { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-card); box-shadow: var(--shadow); overflow: hidden; min-width: 0; }
.trail-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--hairline); font-size: 14px; font-weight: 600; gap: 12px; }
.trail-head span { font: 400 12px/1 var(--font-mono); color: var(--ink-3); font-weight: 400; }
.ev-row { display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--hairline); font-size: 14px; }
.ev-row:last-child { border-bottom: 0; }
.ev-row time { font: 400 12px/1.5 var(--font-mono); color: var(--ink-3); }
.ev-row .who { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.actor { font: 500 11px/1 var(--font-mono); padding: 4px 7px; border-radius: 5px; }
.actor.ai { color: var(--accent); background: var(--accent-wash); }
.actor.hu { color: var(--info); background: var(--info-wash); }
.actor.sys { color: var(--ink-2); background: var(--sunken); }
.ev-row .basis { margin-top: 4px; font: 400 12px/1.4 var(--font-mono); color: var(--ink-3); }
@media (max-width: 960px) { .record { grid-template-columns: 1fr; gap: 40px; } }

/* Pricing */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tier { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-card); padding: 28px; display: flex; flex-direction: column; }
.tier.feature { border-color: var(--accent-wash-border); box-shadow: 0 0 0 3px var(--accent-wash); }
.tier .name { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 16px; }
.tier .price { margin-top: 18px; font-size: 40px; font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.tier .price small { font-size: 14px; font-weight: 400; color: var(--ink-3); letter-spacing: 0; }
.tier .desc { margin-top: 12px; color: var(--ink-2); font-size: 14.5px; min-height: 4.6em; }
.tier ul { list-style: none; padding: 18px 0 0; margin: 18px 0 24px; border-top: 1px solid var(--hairline); display: grid; gap: 10px; font-size: 14.5px; }
.tier li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.tier li svg { width: 16px; height: 16px; color: var(--accent); margin-top: 3px; }
.tier .btn { margin-top: auto; justify-content: center; }
.price-note { margin-top: 16px; font-size: 13px; color: var(--ink-3); }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; } .tier .desc { min-height: 0; } }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; }
.faq details { border-top: 1px solid var(--hairline); }
.faq details:last-child { border-bottom: 1px solid var(--hairline); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 500; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 20px/1 var(--font-mono); color: var(--ink-3); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 64ch; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; gap: 24px; } }

/* Closing */
.closing { text-align: left; border: 1px solid var(--hairline); border-radius: 20px; background: var(--surface); padding: clamp(32px, 6vw, 72px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: end; background-image: radial-gradient(circle at 1px 1px, var(--hairline) 1px, transparent 0); background-size: 22px 22px; }
.closing .lead { margin-top: 16px; }
.closing .ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; align-items: center; }
.closing .qualifier { width: 100%; text-align: right; margin: 0; }
@media (max-width: 860px) { .closing { grid-template-columns: 1fr; } .closing .ctas { justify-content: flex-start; } .closing .qualifier { text-align: left; } }

/* Footer */
footer { border-top: 1px solid var(--hairline); padding-block: 56px 40px; margin-top: clamp(64px, 9vw, 120px); font-size: 14px; }
.foot { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.foot h4 { margin: 0 0 12px; font: 500 12px/1 var(--font-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.foot a { display: block; text-decoration: none; color: var(--ink-2); padding: 4px 0; }
.foot a:hover { color: var(--ink); }
.foot p { color: var(--ink-2); margin-top: 12px; max-width: 32ch; }
.legal { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--hairline); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--ink-3); font-size: 13px; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr 1fr; } .foot > div:first-child { grid-column: 1 / -1; } }

/* Concept ribbon */
.ribbon { background: var(--accent-wash); border-bottom: 1px solid var(--accent-wash-border); color: var(--accent); font-size: 13px; }
.ribbon .wrap { display: flex; gap: 8px; align-items: center; justify-content: center; padding-block: 8px; text-align: center; flex-wrap: wrap; }

@media (prefers-reduced-motion: no-preference) {
  .stage { animation: rise .7s var(--ease) both; }
  @keyframes rise { from { transform: translateY(14px); } to { transform: none; } }
}

/* ===== The day rail (from direction C) ===== */
main > section { padding-block: 0 !important; }
.hero, .proof { padding-block: 0; }
.event { --rail-col: 196px; --pad: clamp(72px, 8vw, 112px); position: relative; display: grid; grid-template-columns: var(--rail-col) minmax(0, 1fr); }
.event::before { content: ""; position: absolute; left: calc(24px + 6px); top: 0; bottom: 0; width: 1px; background: var(--hairline-strong); }
.event.first::before { top: calc(var(--pad) + 6px); }
.event.last::before { bottom: auto; height: calc(var(--pad) + 2px); }
.event > .body { padding-block: var(--pad) 0; min-width: 0; }
.band .event > .body { padding-block: var(--pad); }
.band + section .event > .body, .band + section .stamp { --pad: clamp(72px, 8vw, 112px); }
.stamp { position: sticky; top: 88px; align-self: start; padding: var(--pad) 20px 24px 28px; }
.stamp .node { position: absolute; left: 1px; top: calc(var(--pad) + 1px); width: 11px; height: 11px; border-radius: 50%; background: var(--canvas); border: 1.5px solid var(--ink-3); }
.band .stamp .node { background: var(--band); border-color: var(--band-ink-2); }
.band .event::before { background: var(--band-hairline); }
.stamp.key .node, .stamp.dec.live .node { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 4px var(--accent-wash); }
.stamp.open .node { border-style: dashed; border-color: var(--ink-2); }
.stamp time { display: block; font: 500 13px/1 var(--font-mono); color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.band .stamp time, .band .stamp .what { color: var(--band-ink); }
.stamp .actor { margin-top: 12px; display: inline-flex; gap: 6px; align-items: center; }
.stamp .actor::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.actor.api { color: var(--teal); background: var(--teal-wash); }
.actor.exp { color: var(--success); background: var(--success-wash); }
.actor.you { color: var(--ink); background: transparent; border: 1px dashed var(--hairline-strong); }
.band .actor.api { background: color-mix(in srgb, var(--teal) 18%, transparent); color: #6fd3c3; }
.stamp .what { margin-top: 10px; font-size: 14px; font-weight: 500; line-height: 1.35; color: var(--ink); max-width: 18ch; }
.stamp .ref { margin-top: 6px; font: 400 11.5px/1.4 var(--font-mono); color: var(--ink-3); }
.band .stamp .ref { color: var(--band-ink-2); }
.day-label { position: absolute; left: 24px; top: calc(var(--pad) - 40px); font: 500 11px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.stamp.dec.live .what { color: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .stamp.key .node { animation: beat 2.4s var(--ease) infinite; }
  @keyframes beat { 0%, 100% { box-shadow: 0 0 0 4px var(--accent-wash); } 50% { box-shadow: 0 0 0 7px var(--accent-wash); } }
}
@media (max-width: 900px) {
  .event { grid-template-columns: 1fr; --pad: 64px; }
  .event::before, .day-label { display: none; }
  .stamp { position: static; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: var(--pad) 0 20px; }
  .stamp .node { position: static; width: 9px; height: 9px; flex: none; }
  .stamp time, .stamp .actor, .stamp .what { margin: 0; }
  .stamp .what { font-size: 13px; max-width: none; color: var(--ink-2); }
  .stamp .ref { display: none; }
  .event > .body { padding-top: 0; }
  .band .event > .body { padding-block: 0 var(--pad); }
}
/* body-level grids moved off .wrap */
.body.dev { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; }
@media (max-width: 1100px) { .body.dev { grid-template-columns: 1fr; } }
.stage .synopsis { right: -8px; }
.closing { margin-bottom: 0; }

/* ---- solid: grounded day ---- */
.actor.cu { color: var(--attention); background: var(--attention-wash); }
.stamp.live time { color: var(--accent); }
.cast { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 36px 0 44px; }
.who-card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-card); padding: 18px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.who-card .role { font-size: 14px; font-weight: 600; }
.who-card q { font-size: 15px; line-height: 1.4; color: var(--ink); quotes: "\201C" "\201D"; }
.who-card .screen { margin-top: auto; font: 400 12px/1.45 var(--font-mono); color: var(--ink-3); }
@media (max-width: 1100px) { .cast { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cast { grid-template-columns: 1fr; } }
.finding { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-card); box-shadow: var(--shadow); overflow: hidden; margin-bottom: 16px; }
.finding-head { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--hairline); }
.finding-head h3 { font-size: 15px; font-weight: 600; }
.finding-head .meta { font: 400 12px/1 var(--font-mono); color: var(--ink-3); }
.finding-scroll { overflow-x: auto; }
.cmp { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.cmp th { text-align: left; font: 500 11px/1 var(--font-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); padding: 12px 20px; border-bottom: 1px solid var(--hairline); background: var(--sidebar); }
.cmp td { padding: 13px 20px; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.cmp tr:last-child td { border-bottom: 0; }
.cmp td:first-child { color: var(--ink-2); width: 24%; }
.cmp .src { display: block; margin-top: 3px; font: 400 11.5px/1.4 var(--font-mono); color: var(--ink-3); }
.cmp .res { width: 1%; white-space: nowrap; text-align: right; }
.mk { display: inline-flex; align-items: center; gap: 6px; font: 500 12px/1 var(--font-ui); padding: 5px 8px; border-radius: var(--r-chip); }
.mk.ok { color: var(--success); background: var(--success-wash); }
.mk.no { color: var(--error); background: var(--error-wash); }
.mk.q { color: var(--attention); background: var(--attention-wash); }
.cmp tr.flag td { background: color-mix(in srgb, var(--error-wash) 45%, transparent); }
.cmp .none { color: var(--attention); font-style: italic; }
.finding-foot { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; padding: 14px 20px; border-top: 1px solid var(--hairline); background: var(--sidebar); font-size: 14px; }
.rec { font-weight: 600; color: var(--ink); }
.rec .ai { color: var(--accent); font: 500 12px/1 var(--font-mono); margin-right: 8px; }
.bandchip { display: inline-flex; align-items: center; gap: 7px; font: 500 12px/1 var(--font-mono); padding: 5px 9px; border-radius: var(--r-chip); color: var(--error); background: var(--error-wash); }
.bandchip .bars { display: inline-flex; gap: 2px; align-items: flex-end; }
.bandchip .bars i { width: 3px; border-radius: 1px; background: currentColor; }
.bandchip .bars i:nth-child(1) { height: 5px; } .bandchip .bars i:nth-child(2) { height: 8px; } .bandchip .bars i:nth-child(3) { height: 11px; }
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
@media (max-width: 1000px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.phone { width: min(360px, 100%); margin-inline: auto; background: var(--surface); border: 1px solid var(--hairline); border-radius: 28px; box-shadow: var(--shadow); padding: 14px; }
.phone-top { display: flex; align-items: center; gap: 10px; padding: 6px 8px 14px; border-bottom: 1px solid var(--hairline); }
.phone-top .av { width: 32px; height: 32px; border-radius: 50%; background: var(--accent-wash); color: var(--accent); display: grid; place-items: center; font-weight: 600; font-size: 13px; }
.phone-top b { display: block; font-size: 14px; }
.phone-top span { font-size: 12px; color: var(--ink-3); }
.chat { display: flex; flex-direction: column; gap: 10px; padding: 16px 4px 6px; }
.msg { max-width: 84%; padding: 10px 12px; border-radius: 14px; font-size: 14px; line-height: 1.45; }
.msg.in { align-self: flex-start; background: var(--sunken); border-bottom-left-radius: 4px; }
.msg.out { align-self: flex-end; background: var(--accent-wash); border: 1px solid var(--accent-wash-border); border-bottom-right-radius: 4px; }
.msg small { display: block; margin-top: 4px; font: 400 11px/1 var(--font-mono); color: var(--ink-3); }
.file { display: flex; gap: 10px; align-items: center; padding: 8px 10px; margin-bottom: 6px; background: var(--surface); border: 1px solid var(--hairline); border-radius: 10px; font-size: 13px; }
.file svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.filed { margin: 14px auto 0; width: min(360px, 100%); display: flex; gap: 8px; align-items: center; justify-content: center; font: 400 12px/1.4 var(--font-mono); color: var(--ink-3); text-align: center; }
.filed i { width: 7px; height: 7px; border-radius: 50%; background: var(--success); flex: none; }
.ticks.tight li { margin-top: 10px; }
.dc { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-card); box-shadow: var(--shadow); overflow: hidden; min-width: 0; }
.dc-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--hairline); }
.dc-head b { font-size: 15px; }
.dc-head span { font: 400 12px/1 var(--font-mono); color: var(--ink-3); }
.dc-body { padding: 20px; display: grid; gap: 16px; }
.dc-rec { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; justify-content: space-between; }
.dc details { border: 1px solid var(--hairline); border-radius: 10px; background: var(--sidebar); }
.dc summary { cursor: pointer; padding: 11px 14px; font-size: 14px; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.dc summary::-webkit-details-marker { display: none; }
.dc summary::after { content: "+"; color: var(--ink-3); font-family: var(--font-mono); }
.dc details[open] summary::after { content: "−"; }
.dc details ul { margin: 0; padding: 0 14px 12px 32px; font-size: 14px; color: var(--ink-2); display: grid; gap: 8px; }
.dc details li .src { display: block; font: 400 11.5px/1.4 var(--font-mono); color: var(--ink-3); }
.dc details li.none { color: var(--attention); }
.dc-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.dc-acts button, .dc-why button { font: 500 14px/1 var(--font-ui); height: 38px; padding-inline: 14px; border-radius: var(--r-btn); border: 1px solid var(--hairline-strong); background: var(--surface); color: var(--ink); cursor: pointer; }
.dc-acts button.pri, .dc-why button.pri { background: var(--accent); color: #fff; border-color: transparent; }
.dc-acts button:disabled, .dc-why button:disabled { opacity: .45; cursor: not-allowed; }
.dc-why { border: 0; margin: 0; padding: 14px; border-radius: 10px; background: var(--attention-wash); display: grid; gap: 10px; }
.dc-why legend { padding: 0; font-size: 14px; font-weight: 600; color: var(--ink); float: left; margin-bottom: 4px; }
.dc-why label { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--ink); cursor: pointer; clear: both; }
.dc-why input { accent-color: var(--accent); }
.dc-status { display: flex; gap: 8px; font-size: 14px; color: var(--success); }
.eyes { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; font-size: 13px; }
.eyes .step { display: inline-flex; gap: 7px; align-items: center; padding: 6px 10px; border-radius: var(--r-chip); background: var(--surface); border: 1px solid var(--hairline); color: var(--ink-2); }
.eyes .step i { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--ink-3); }
.eyes .step.done { color: var(--ink); }
.eyes .step.done i { background: var(--success); border-color: var(--success); }
.eyes .arr { color: var(--ink-3); font-family: var(--font-mono); }
.dc-why[hidden], .dc-status[hidden], .mlro[hidden] { display: none; }
main > section:has(+ .band) .event > .body { padding-bottom: var(--pad); }
.body.record { grid-template-columns: 1fr 1.15fr; align-items: start; }
.eyes .step { white-space: nowrap; }
.mlro { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin: 0 0 14px; font-size: 14px; color: var(--ink-2); }
.mlro button { font: 500 14px/1 var(--font-ui); height: 36px; padding-inline: 14px; border-radius: var(--r-btn); border: 0; background: var(--accent); color: #fff; cursor: pointer; }
.mlro button:disabled { background: var(--sunken); color: var(--ink-3); cursor: not-allowed; }
@media (max-width: 900px) { .body.record { grid-template-columns: 1fr; } }
/* ---- v3: evidence-pack day ---- */
.inbox-sub { margin-top: 4px; font-size: 12.5px; color: var(--ink-3); }
.cast4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 36px; }
@media (max-width: 1000px) { .cast4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cast4 { grid-template-columns: 1fr; } }
.who-card p { font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.cast-note { margin-top: 18px; font-size: 14px; color: var(--ink-3); }
.panel { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-card); box-shadow: var(--shadow); overflow: hidden; min-width: 0; }
.panel-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--hairline); }
.panel-head b { font-size: 15px; }
.panel-head span { font: 400 12px/1.3 var(--font-mono); color: var(--ink-3); }
.tabs { display: flex; gap: 2px; padding: 8px 10px 0; border-bottom: 1px solid var(--hairline); overflow-x: auto; }
.tabs button { flex: none; background: none; border: 0; border-bottom: 2px solid transparent; padding: 8px 10px 10px; font: 500 13.5px/1 var(--font-ui); color: var(--ink-2); cursor: pointer; }
.tabs button[aria-selected="true"] { color: var(--accent); border-bottom-color: var(--accent); }
.tabs button .n { display: inline-block; margin-left: 6px; min-width: 18px; padding: 2px 5px; border-radius: 999px; background: var(--accent); color: #fff; font: 500 10.5px/1.2 var(--font-mono); }
.tabpanel { min-height: 300px; }
.tabpanel[hidden] { display: none; }
.tabpanel .ev-row:first-child { border-top: 0; }
.dline { padding: 14px 18px; border-bottom: 1px solid var(--hairline); font-size: 14px; }
.dline:last-child { border-bottom: 0; }
.dline .by { display: flex; gap: 8px; align-items: baseline; font-weight: 600; font-size: 13.5px; }
.dline .by time { font: 400 11.5px/1 var(--font-mono); color: var(--ink-3); font-weight: 400; }
.dline p { margin-top: 4px; color: var(--ink-2); }
.dline .mention { color: var(--accent); font-weight: 500; }
.dline .meta { margin-top: 4px; font: 400 12px/1.4 var(--font-mono); color: var(--ink-3); }
.task { display: flex; gap: 10px; align-items: center; }
.task i { width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--ink-3); flex: none; }
.task.done i { background: var(--success); border-color: var(--success); }
.task.done span { color: var(--ink-3); text-decoration: line-through; }
.tree { padding: 22px 20px; display: grid; gap: 10px; }
.node-c { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 12px 14px; border: 1px solid var(--hairline); border-radius: 10px; background: var(--surface); font-size: 14px; text-align: left; font-family: var(--font-ui); color: var(--ink); width: 100%; }
.node-c small { font: 400 11.5px/1.3 var(--font-mono); color: var(--ink-3); }
.node-c .pct { margin-left: auto; font: 500 12px/1 var(--font-mono); color: var(--ink-2); }
.lvl1 { margin-left: 22px; position: relative; }
.lvl2 { margin-left: 44px; position: relative; }
.lvl1::before, .lvl2::before { content: ""; position: absolute; left: -14px; top: -10px; width: 10px; height: 34px; border-left: 1px solid var(--hairline-strong); border-bottom: 1px solid var(--hairline-strong); border-bottom-left-radius: 6px; }
button.node-c { cursor: pointer; border-color: var(--accent-wash-border); background: var(--accent-wash); }
button.node-c:hover { border-color: var(--accent); }
button.node-c[aria-expanded="true"] { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-wash); }
.drawer { border-top: 1px solid var(--hairline); background: var(--sidebar); padding: 18px 20px; display: grid; gap: 12px; }
.drawer[hidden] { display: none; }
.drawer h4 { margin: 0; font-size: 16px; }
.drawer dl { margin: 0; display: grid; grid-template-columns: 110px 1fr; gap: 8px 12px; font-size: 14px; }
.drawer dt { color: var(--ink-3); }
.drawer dd { margin: 0; }
.drawer .promise { font-size: 13.5px; color: var(--ink-2); padding: 10px 12px; border-radius: 8px; background: var(--accent-wash); border: 1px solid var(--accent-wash-border); }
.drawer .acts, .ap-foot { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn-s { font: 500 14px/1 var(--font-ui); height: 36px; padding-inline: 14px; border-radius: var(--r-btn); border: 1px solid var(--hairline-strong); background: var(--surface); color: var(--ink); cursor: pointer; }
.btn-s.pri { background: var(--accent); border-color: transparent; color: #fff; }
.btn-s:disabled { opacity: .45; cursor: not-allowed; }
.okline { font-size: 14px; color: var(--success); }
.okline[hidden] { display: none; }
.ap-top { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--hairline); }
.ap-top .left { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.outst { font: 500 12px/1 var(--font-mono); padding: 6px 9px; border-radius: var(--r-chip); background: var(--attention-wash); color: var(--attention); }
.outst.clear { background: var(--success-wash); color: var(--success); }
.approve-wrap { position: relative; }
.approve { font: 500 14px/1 var(--font-ui); height: 36px; padding-inline: 16px; border-radius: var(--r-btn); border: 1px solid var(--hairline-strong); background: var(--sunken); color: var(--ink-3); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.approve svg { width: 14px; height: 14px; }
.approve.ready { background: var(--accent); color: #fff; border-color: transparent; }
.approve.done { background: var(--success-wash); color: var(--success); border-color: transparent; cursor: default; }
.pop { margin: 12px 18px 0; background: var(--attention-wash); border: 1px solid color-mix(in srgb, var(--attention) 30%, transparent); border-radius: 10px; padding: 12px 14px; font-size: 13.5px; }
.pop[hidden] { display: none; }
.pop b { display: block; font-size: 14px; margin-bottom: 8px; }
.pop ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; color: var(--ink-2); }
.ap-label { padding: 14px 18px 4px; font: 500 11px/1 var(--font-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.check { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 12px 18px; border-bottom: 1px solid var(--hairline); font-size: 14px; }
.check small { grid-column: 1; font: 400 12px/1.3 var(--font-mono); color: var(--ink-3); }
.check .btn-s { grid-row: 1 / span 2; grid-column: 2; height: 32px; font-size: 13px; }
.check.done { color: var(--ink-3); }
.check.done span { text-decoration: line-through; }
.ap-foot { padding: 14px 18px; font-size: 13px; color: var(--ink-3); }
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
@media (max-width: 1100px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
.tile { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-card); padding: 16px 18px; display: grid; gap: 6px; }
.tile .k { font-size: 13px; color: var(--ink-2); }
.tile .v { font-size: 30px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.tile .v.warn { color: var(--attention); }
.tile .lnk { font: 400 12px/1.3 var(--font-mono); color: var(--accent); }
.queues { margin-top: 16px; }
.queues table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.queues th { text-align: left; font: 500 11px/1 var(--font-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); padding: 12px 18px; border-bottom: 1px solid var(--hairline); background: var(--sidebar); }
.queues td { padding: 12px 18px; border-bottom: 1px solid var(--hairline); }
.queues tr:last-child td { border-bottom: 0; }
.sample { font: 500 11px/1 var(--font-mono); color: var(--attention); background: var(--attention-wash); padding: 4px 7px; border-radius: 5px; }
.around .mini .tag { display: inline-block; margin-top: 14px; font: 500 12px/1.3 var(--font-mono); color: var(--ink-2); background: var(--sunken); padding: 6px 9px; border-radius: var(--r-chip); }
.around .mini .tag.stop { color: var(--error); background: var(--error-wash); }
.dev2 { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
@media (max-width: 1100px) { .dev2 { grid-template-columns: 1fr; } }
.actor.mgr { color: var(--teal); background: var(--teal-wash); }
.actor.mlro { color: var(--error); background: var(--error-wash); }
.stamp.live time, .stamp.live .what { color: var(--accent); }
.stamp.live .node { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 4px var(--accent-wash); }
.frame.light { box-shadow: var(--shadow); }
.node-c { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; }
.node-c small { grid-column: 1; grid-row: 2; }
.node-c .pct { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin-left: 0; }
.hist-note { padding: 10px 18px; font: 400 12px/1.4 var(--font-mono); color: var(--ink-3); background: var(--sidebar); border-bottom: 1px solid var(--hairline); }
/* E. Shimmer on the working words: the sentence itself carries progress, no spinner */
.working { margin: 4px 0 2px; font-size: 13.5px; line-height: 1.5; font-weight: 500; color: var(--ink-2);
  background: linear-gradient(100deg, var(--ink-2) 0%, var(--ink-2) 35%, #6548e8 42%, #2fa4d9 47%, #19a38a 52%, #e0a43a 57%, var(--ink-2) 64%, var(--ink-2) 100%);
  background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: zshimmer 2.4s linear infinite; }
@keyframes zshimmer { from { background-position: 100% 0; } to { background-position: 0% 0; } }
@media (prefers-reduced-motion: reduce) { .working { animation: none; background: none; -webkit-text-fill-color: var(--ink-2); } }
.synopsis.is-working .ev, .synopsis.is-working #syn-text, .synopsis.is-working .syn-actions, .synopsis.is-working .verdict, .synopsis.is-working .band { display: none; }
.synopsis .reveal { animation: zreveal .22s var(--ease) both; }
@keyframes zreveal { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .synopsis .reveal { animation: none; } }
.band { display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; margin-bottom: 2px; font: 500 11.5px/1 var(--font-ui); padding: 4px 9px; border-radius: 6px; }
.band svg { width: 12px; height: 12px; }
.band.high { color: #0f766e; background: rgba(20,184,166,.12); }
.band.med { color: var(--attention); background: var(--attention-wash); }
.band.low { color: var(--accent); background: var(--accent-wash); }
:root[data-theme="zenoo-never"] .band.high { color: #5eead4; }
@media not all { :root:not([data-theme="light"]) .band.high { color: #5eead4; } }
.mini .working { font-size: 12.5px; margin-top: 10px; }
/* ---- Compliance Hub islands. Values are the deployed product tokens
   (amlDesignTokens.css + amlInboxTokens.css, 12 Oct 2026). The product is a
   light UI, so the islands stay light in dark mode, like a screenshot. ---- */
.ch {
  --c-ink: #202124; --c-ink2: #5b6169; --c-ink3: #747982; --c-muted: #9ca0a7; --c-label: #3f4249;
  --c-hair: #e7e5e0; --c-row: #f2f1ed; --c-hover: #f4f4f5; --c-side: #f7f7f5; --c-surface: #ffffff;
  --c-text: #1f2937; --c-text2: #71717a; --c-v6t2: #747982; --c-border: #e4e4e7;
  --c-action: #6548e8; --c-action-tint: #f5f2ff; --c-action-border: #ded6ff; --c-brand: #6548e8;
  --c-ai-bg: #f5f5f3; --c-ai-accent: #7c3aed;
  --c-s1: #6548e8; --c-s2: #a35cf0; --c-s3: #e8559a; --c-s4: #f6844b; --c-s5: #3e8bf0;
  --c-red: #dc2626; --c-red-bg: #fef2f2; --c-amber: #c77a13; --c-amber-wash: #fbf3e4; --c-agrees: #8a5a12;
  --c-warn: #f59e0b; --c-warn-bg: #fffbeb; --c-warn-text: #8a6a45;
  --c-green: #15803d; --c-green-bg: #ecfdf3; --c-blue: #3b82f6;
  --c-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --c-ui: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: light;
  font-family: var(--c-ui); color: var(--c-ink); font-size: 13.5px; line-height: 1.45; text-align: left;
}
.ch svg.i { width: 15px; height: 15px; flex: none; }
:where(.ch) button { font: inherit; color: inherit; }
.ch-frame { position: relative; background: var(--c-surface); border: 1px solid var(--hairline-strong, #e2e0da); border-radius: 16px; box-shadow: 0 24px 60px -24px rgba(20,12,60,.28), 0 0 0 1px rgba(20,12,60,.03); overflow: hidden; }
.ch-mono { font-family: var(--c-mono); font-size: 12px; letter-spacing: -.01em; }
.ch-dim { color: var(--c-ink3); }
.ch-sp { flex: 1; }
.ch-h { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -.01em; color: var(--c-ink); }
.ch-p { margin: 4px 0 0; color: var(--c-ink3); font-size: 13px; }
.ch-scroll { overflow-x: auto; }

/* Inbox */
.ch-app { display: grid; grid-template-columns: 192px 1fr; min-height: 560px; }
.ch-side { background: var(--c-side); border-right: 1px solid var(--c-hair); padding: 16px 10px; }
.ch-side-h { margin: 0 8px 10px; font-weight: 600; font-size: 15px; }
.ch-side-l { margin: 18px 8px 6px; font-size: 12.5px; color: var(--c-ink3); padding-top: 14px; border-top: 1px solid var(--c-hair); }
.ch-nav { display: flex; align-items: center; gap: 9px; padding: 6px 8px; border-radius: 7px; color: var(--c-label); font-size: 13.5px; }
.ch-nav .i { color: var(--c-ink3); width: 15px; height: 15px; }
.ch-nav span { flex: 1; }
.ch-nav b { font: 400 11px/1 var(--c-mono); color: var(--c-muted); }
.ch-nav.on { background: var(--c-action-tint); color: var(--c-action); font-weight: 600; }
.ch-nav.on .i { color: var(--c-action); }
.ch-main { padding: 22px 16px 18px 20px; min-width: 0; }
.ch-day { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--c-hair); }
.ch-lbl { font: 500 11px/1 var(--c-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--c-ink3); margin-right: 4px; }
.ch-chip { padding: 6px 10px; border-radius: 6px; background: #f1f0ec; color: var(--c-ink2); font-size: 13px; }
.ch-chip b { font-weight: 600; margin-left: 4px; color: var(--c-ink); }
.ch-chip.amber { background: var(--c-amber-wash); color: var(--c-amber); }
.ch-chip.amber b { color: var(--c-amber); }
.ch-chip.on { background: #e9e8e3; color: var(--c-ink); font-weight: 500; }
.ch-focus-note { margin-left: auto; font-size: 12.5px; color: var(--c-ink2); }
.ch-focus { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--c-border); border-radius: 8px; font-weight: 600; font-size: 13px; }
.ch-tools { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 12px; }
.ch-tool { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid var(--c-border); border-radius: 7px; font-size: 12.5px; color: var(--c-ink2); }
.ch-tool .i { width: 13px; height: 13px; }
.ch-tool.on { background: var(--c-action-tint); border-color: var(--c-action-border); color: var(--c-action); font-weight: 500; }
.ch-group { display: flex; align-items: center; gap: 6px; margin: 6px 0 4px 26px; font-size: 12.5px; }
.ch-group b { font-weight: 600; background: #f1f0ec; padding: 3px 8px 3px 6px; border-radius: 6px; display: inline-flex; gap: 6px; align-items: center; }
.ch-group .i { width: 13px; height: 13px; color: var(--c-ink3); }
.ch-group span { color: var(--c-ink3); font: 400 11px var(--c-mono); }
.ch-rows { width: 100%; border-collapse: collapse; min-width: 600px; }
.ch-rows th { text-align: left; font-weight: 400; color: var(--c-ink3); font-size: 12.5px; padding: 8px 6px; border-bottom: 1px solid var(--c-hair); }
.ch-rows td { font-size: 13px; padding: 9px 6px; border-bottom: 1px solid var(--c-hair); white-space: nowrap; color: var(--c-ink2); }
.ch-rows td.it { color: var(--c-ink); font-size: 13.5px; }
.ch-rows tr { cursor: pointer; }
.ch-rows tbody tr:hover td { background: var(--c-hover); }
.ch-rows tr.sel td { background: var(--c-action-tint); }
.ch-rows tr:focus-visible { outline: 2px solid var(--c-ai-accent); outline-offset: -2px; }
.ch-circ { width: 15px; height: 15px; display: block; color: var(--c-muted); }
.ch-circ.done { color: var(--c-green); }
.ch-due.late { color: var(--c-red); font-family: var(--c-mono); font-size: 12px; }
.ch-due.none { color: var(--c-muted); font-size: 12.5px; }
.ch-eff { font-size: 11.5px; font-weight: 500; background: #f1f0ec; padding: 3px 7px; border-radius: 5px; color: var(--c-ink2); }
.ch-eff.no { background: none; color: var(--c-muted); font-weight: 400; padding: 0; }
.ch-own { width: 22px; height: 22px; border-radius: 50%; background: #4b3f72; color: #fff; display: inline-grid; place-items: center; font-size: 9.5px; font-weight: 600; }

/* Pop-up */
.ch-scrim { position: absolute; inset: 0; background: rgba(32,33,36,.38); opacity: 1; transition: opacity .14s ease-out; }
.ch-modal { position: absolute; inset: 22px 34px; background: var(--c-surface); border-radius: 12px; box-shadow: 0 30px 80px -20px rgba(20,12,60,.45); display: flex; flex-direction: column; overflow: hidden; transition: opacity .16s ease-out, transform .16s ease-out; }
.ch.closed .ch-scrim, .ch.closed .ch-modal { opacity: 0; pointer-events: none; }
.ch.closed .ch-modal { transform: translateY(6px); }
.ch-top { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--c-hair); min-width: 0; }
.ch-av { width: 24px; height: 24px; border-radius: 50%; background: #3f4249; color: #fff; display: grid; place-items: center; font-size: 9.5px; font-weight: 600; flex: none; }
.ch-top b { font-weight: 500; white-space: nowrap; }
.ch-pill { font-size: 11.5px; background: #f1f0ec; color: var(--c-ink2); padding: 2px 7px; border-radius: 5px; white-space: nowrap; }
.ch-slash { color: var(--c-muted); }
.ch-of { color: var(--c-ink2); white-space: nowrap; font-size: 11.5px; }
.ch-ib { all: unset; width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid var(--c-border); border-radius: 7px; cursor: pointer; color: var(--c-ink2); }
.ch-ib .i { width: 14px; height: 14px; }
.ch-x { border-color: var(--c-ink); }
.ch-next { all: unset; display: inline-flex; align-items: center; gap: 4px; background: #fff; color: var(--c-ink); border: 1px solid var(--c-border); padding: 4px 10px; border-radius: 8px; font-size: 13px; font-weight: 500; cursor: pointer; }
.ch-next:hover { background: var(--c-hover); }
.ch-next .i { width: 13px; height: 13px; }
.ch-ib:focus-visible, .ch-next:focus-visible { outline: 2px solid var(--c-ai-accent); outline-offset: 2px; }
.ch-body { flex: 1; display: grid; grid-template-columns: 1fr 290px; min-height: 0; }
.ch-work { padding: 22px 30px 26px; overflow-y: auto; min-width: 0; }
.ch-title { margin: 0 0 12px; font-size: 20px; font-weight: 600; letter-spacing: -.01em; color: var(--c-ink); }

/* The AI line (zenooAiLine) */
.ch-ai { position: relative; display: flex; gap: 10px; align-items: flex-start; padding: 9px 12px; border: 1.5px solid transparent; border-radius: 8px; background: var(--c-ai-bg); color: var(--c-v6t2); font-size: 13.5px; line-height: 1.55; transition: background .15s; }
.ch-ai.done { background: transparent; border: 1px dashed var(--c-border); }
.ch-ai.done b { color: var(--c-text); font-weight: 600; }
.ch-txt { flex: 1; min-width: 0; }
.ch-txt .fact { color: var(--c-text); font-weight: 400; }
.ch-txt .ch-lead { color: var(--c-text); font-weight: 600; }
.ch-mark { all: unset; display: grid; place-items: center; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 5px; cursor: help; }
.ch-mark svg { width: 18px; height: 18px; overflow: visible; display: block; }
.ch-mark .rest { fill: var(--c-brand); }
.ch-mark:focus-visible { outline: 2px solid var(--c-ai-accent); outline-offset: 2px; }
.ch-ai.is-working .ch-mark { cursor: default; }
.ch-act { all: unset; padding: 0 2px 1px; margin: 0 -2px; border-radius: 4px; color: var(--c-action); font-weight: 500; cursor: pointer; background-repeat: no-repeat; background-position: 0 100%; background-size: 100% 2px; transition: background-color .15s, color .15s; }
.ch-act:hover { background-color: var(--c-action-tint); text-decoration: underline; text-underline-offset: 3px; }
.ch-act.selected, .ch-act.selected:hover { color: var(--c-text); text-decoration: none; background-color: transparent; background-image: linear-gradient(90deg, var(--c-s1), var(--c-s2), var(--c-s3), var(--c-s4), var(--c-s5)); }
.ch-act:focus-visible { outline: 2px solid var(--c-ai-accent); outline-offset: 1px; }
.ch-ai.low .ch-act { color: var(--c-text); text-decoration: underline solid var(--c-muted); text-underline-offset: 3px; }
.ch-ai.low .ch-act:hover { color: var(--c-action); }
.ch-keep { white-space: nowrap; }
/* Option E, Stu 11 Oct: the working sentence carries a slow spectrum shimmer instead of a spinner. */
.ch-ai.is-working .ch-txt { background: linear-gradient(90deg, var(--c-v6t2) 0%, var(--c-v6t2) 35%, var(--c-s2) 45%, var(--c-s3) 50%, var(--c-s4) 55%, var(--c-v6t2) 65%, var(--c-v6t2) 100%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: ch-sweep 2.4s linear infinite; }
@keyframes ch-sweep { to { background-position: -200% 0; } }
.ch-ai.intro .ch-txt { animation: ch-lift 700ms ease-out 150ms both; }
@keyframes ch-lift { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.ch-confirm { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--c-border); }
.ch-confirm label { flex: 1 1 100%; color: var(--c-text); font-weight: 500; }
.ch-basis { flex: 1 1 100%; min-width: 0; padding: 5px 9px; border: 1px solid var(--c-border); border-radius: 8px; background: #fff; color: var(--c-text); font: inherit; font-size: 13px; resize: vertical; box-sizing: border-box; }
.ch-basis:focus { outline: none; border-color: var(--c-ai-accent); }
.ch-btn { padding: 7px 12px; border: 1px solid var(--c-border); border-radius: 8px; background: #fff; color: var(--c-text); font: 500 13px/1 var(--c-ui); cursor: pointer; }
.ch-btn.pri { background: var(--c-text); border-color: var(--c-text); color: #fff; }
.ch-btn:disabled { opacity: .5; cursor: not-allowed; }
.ch-btn:focus-visible { outline: 2px solid var(--c-ai-accent); outline-offset: 2px; }
.ch-pop { position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; display: grid; gap: 8px; width: min(360px, calc(100% - 8px)); padding: 12px 14px; border: 1px solid var(--c-border); border-radius: 10px; background: #fff; box-shadow: 0 12px 32px -8px rgba(20,12,60,.22); color: var(--c-text); font-size: 12.5px; line-height: 1.5; }
.ch-pop[hidden] { display: none; }
.ch-pop .ch-band { font-weight: 600; }
.ch-pop .help, .ch-pop .sub { color: var(--c-text2); }
.ch-pop ul { display: grid; gap: 3px; margin: 0; padding-left: 16px; }
.ch-pop .warn { margin: 0; padding-left: 8px; border-left: 2px solid var(--c-warn); }
.ch-over { all: unset; color: var(--c-text2); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; justify-self: start; }
.ch-over:focus-visible { outline: 2px solid var(--c-ai-accent); outline-offset: 2px; }

/* Evidence body (amlFindingBodyScreening, embedded) */
.ch-sec { margin-top: 22px; border-top: 1px solid var(--c-hair); }
.ch-sec-h { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--c-hair); font-size: 13px; }
.ch-sec-h b { font-weight: 600; color: var(--c-ink); }
.ch-sec-h span { color: var(--c-ink3); }
.ch-cmp { width: 100%; border-collapse: collapse; }
.ch-cmp th { font: 500 10.5px/1 var(--c-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--c-ink2); text-align: left; padding: 12px 8px 10px 0; border-bottom: 1px solid var(--c-hair); }
.ch-cmp td { padding: 10px 8px 10px 0; border-bottom: 1px solid var(--c-row); font-size: 13px; color: var(--c-ink); }
.ch-cmp td:first-child { color: var(--c-ink3); }
.ch-cmp td.m { font-family: var(--c-mono); font-size: 12.5px; }
.ch-st { font-size: 12.5px; padding: 2px 8px; border-radius: 5px; white-space: nowrap; }
.ch-st.no { background: var(--c-red-bg); color: var(--c-red); }
.ch-st.ok { background: var(--c-amber-wash); color: var(--c-agrees); }
.ch-st.nf { background: #f1f0ec; color: var(--c-ink3); }
.ch-kv { display: grid; grid-template-columns: 160px 1fr; }
.ch-kv dt, .ch-kv dd { margin: 0; padding: 9px 0; border-bottom: 1px solid var(--c-row); font-size: 13px; }
.ch-kv dt { color: var(--c-ink3); }
.ch-kv dd { color: var(--c-ink); }
.ch-prov { margin-top: 14px; font-size: 11.5px; color: var(--c-muted); }

/* Rail */
.ch-rail { display: grid; grid-template-columns: 44px 1fr; border-left: 1px solid var(--c-hair); min-height: 0; }
.ch-tabs { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 0; background: var(--c-side); border-right: 1px solid var(--c-hair); }
.ch-tabs button, .ch-tab-x { all: unset; position: relative; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 7px; color: var(--c-ink3); }
.ch-tabs button { cursor: pointer; }
.ch-tab-x { opacity: .55; }
.ch-tabs button[aria-selected="true"] { background: var(--c-action-tint); color: var(--c-ink); border-radius: 6px; }
.ch-tabs button:hover { background: var(--c-hover); }
.ch .unv { color: var(--c-text); text-decoration: underline dotted var(--c-warn); text-underline-offset: 3px; cursor: help; }
.ch-tabs button:focus-visible { outline: 2px solid var(--c-ai-accent); }
.ch-dot { position: absolute; top: 4px; right: 4px; width: 6px; height: 6px; border-radius: 50%; background: var(--c-brand); }
.ch-pane { padding: 16px 16px 18px; overflow-y: auto; min-width: 0; }
.ch-pane h6 { margin: 0 0 12px; font-size: 13.5px; font-weight: 600; }
.ch-grid { display: grid; grid-template-columns: 78px 1fr; gap: 9px 8px; font-size: 13px; align-items: start; }
.ch-grid dt { display: flex; gap: 6px; align-items: center; color: var(--c-ink3); }
.ch-grid dt .i { width: 13px; height: 13px; }
.ch-grid dd { margin: 0; color: var(--c-ink); min-width: 0; overflow-wrap: anywhere; }
.ch-stpill { display: inline-flex; align-items: center; gap: 5px; background: #f1f0ec; border-radius: 6px; padding: 2px 8px 2px 6px; font-size: 11.5px; font-weight: 500; color: var(--c-ink2); }
.ch-stpill .i { width: 12px; height: 12px; }
.ch-stpill.done { background: var(--c-green-bg); color: var(--c-green); }
.ch-need { display: flex; align-items: center; gap: 6px; margin-top: 5px; color: var(--c-green); font-size: 12.5px; }
.ch-need i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ch-pr { color: var(--c-amber); display: inline-flex; gap: 5px; align-items: center; }
.ch-type { white-space: nowrap; background: var(--c-amber-wash); color: var(--c-amber); padding: 2px 7px; border-radius: 5px; font-size: 12.5px; }
.ch-red { color: var(--c-red); }
.ch-hrow { display: grid; grid-template-columns: 42px 1fr; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--c-row); font-size: 12.5px; }
.ch-hrow time { font: 400 11.5px var(--c-mono); color: var(--c-ink3); }
.ch-hrow p { margin: 0; color: var(--c-ink); }
.ch-hrow small { display: block; color: var(--c-ink3); margin-top: 2px; }
.ch-hrow.fresh { animation: ch-fresh 1.6s ease-out; }
@keyframes ch-fresh { from { background: var(--c-action-tint); } to { background: transparent; } }
.ch-empty b { display: block; font-weight: 600; margin-bottom: 2px; }
.ch-empty { color: var(--c-ink3); font-size: 12.5px; padding-bottom: 12px; border-bottom: 1px solid var(--c-hair); }
.ch-compose { margin-top: 12px; border: 1px solid var(--c-border); border-radius: 8px; padding: 10px; color: var(--c-muted); font-size: 12.5px; min-height: 52px; }

/* Case header and tabs */
.ch-chead { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 16px 22px 12px; position: relative; }
.ch-chead > b { font-size: 16px; font-weight: 600; }
.ch-cico { width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid var(--c-border); border-radius: 6px; color: var(--c-ink3); }
.ch-cico .i { width: 13px; height: 13px; }
.ch-status { display: inline-flex; align-items: center; gap: 5px; background: #eef4ff; color: #2563eb; padding: 3px 8px; border-radius: 6px; font-size: 11.5px; font-weight: 500; }
.ch-status .i { width: 12px; height: 12px; }
.ch-risk { background: var(--c-red-bg); color: var(--c-red); padding: 3px 8px; border-radius: 6px; font-size: 11.5px; font-weight: 500; }
.ch-wl { display: inline-flex; align-items: center; gap: 5px; color: var(--c-ink2); font-size: 12.5px; }
.ch-wl .i { width: 13px; height: 13px; }
.ch-outst-chip { all: unset; background: var(--c-amber-wash); color: var(--c-amber); padding: 6px 10px; border-radius: 7px; font-size: 13px; font-weight: 500; cursor: default; }
button.ch-outst-chip { cursor: pointer; }
.ch-outst-chip b { font-weight: 600; margin-right: 2px; }
.ch-outst-chip.clear { background: #f1f0ec; color: var(--c-ink3); }
.ch-ctabs { display: flex; gap: 22px; padding: 0 22px; border-bottom: 1px solid var(--c-hair); overflow-x: auto; scrollbar-width: none; }
.ch-ctabs span { display: inline-flex; align-items: center; gap: 6px; padding: 10px 0 11px; color: var(--c-ink2); font-size: 13.5px; white-space: nowrap; border-bottom: 2px solid transparent; }
.ch-ctabs span .i { width: 14px; height: 14px; }
.ch-ctabs span.on { color: var(--c-ink); font-weight: 600; border-bottom-color: var(--c-ink); }
.ch-ctabs i { font: 400 11px/1 var(--c-mono); background: #f1f0ec; color: var(--c-ink3); padding: 3px 6px; border-radius: 5px; font-style: normal; }
.ch-sum { margin: 0 0 12px; color: var(--c-ink); font-size: 13.5px; }
.ch-foot { margin: 14px 0 0; font-size: 12.5px; color: var(--c-ink3); }

/* Structure */
.ch-str { display: grid; grid-template-columns: 1fr 340px; min-height: 380px; }
.ch-str-main { padding: 18px 22px 20px; min-width: 0; }
.ch-ptable, .ch-etable { width: 100%; border-collapse: collapse; min-width: 520px; }
.ch-ptable th, .ch-etable th { text-align: left; font-weight: 400; color: var(--c-ink3); font-size: 12.5px; padding: 8px 10px; border-bottom: 1px solid var(--c-hair); }
.ch-ptable td, .ch-etable td { padding: 10px 10px; font-size: 13.5px; border-bottom: 1px solid var(--c-hair); font-size: 13.5px; color: var(--c-ink); vertical-align: middle; }
.ch-ptable td:last-child { color: var(--c-ink2); }
.ch-grp td { font-weight: 600; font-size: 13.5px; padding-top: 14px; }
.ch-grp td .i { width: 13px; height: 13px; color: var(--c-ink3); vertical-align: -2px; margin-right: 6px; }
.ch-grp span { font: 400 11px var(--c-mono); color: var(--c-ink3); margin-left: 4px; }
.ch-ini { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 5px; background: #f1f0ec; color: var(--c-ink3); font-size: 9.5px; font-weight: 600; margin-right: 10px; vertical-align: middle; }
.ch-tagc { display: inline-block; background: #f1f0ec; color: var(--c-ink2); font-size: 11.5px; font-weight: 500; padding: 2px 7px; border-radius: 5px; }
.ch-tagc.ub { background: var(--c-action-tint); color: var(--c-action); }
.ch-click { cursor: pointer; }
.ch-click td { background: #fbfaf8; }
.ch-click:hover td, .ch-click.on td { background: var(--c-action-tint); }
.ch-click:focus-visible { outline: 2px solid var(--c-ai-accent); outline-offset: -2px; }
.ch-open { margin-left: 8px; font-size: 11.5px; color: var(--c-action); font-weight: 500; }
.ch-click.on .ch-open { display: none; }
.ch-drawer { border-left: 1px solid var(--c-hair); padding: 18px 20px 22px; background: #fff; box-shadow: -18px 0 40px -30px rgba(20,12,60,.35); }
.ch-drawer[hidden] { display: none; }
.ch-dk { margin: 0 0 12px; font-size: 12.5px; color: var(--c-ink3); }
.ch-dhead { display: flex; gap: 12px; align-items: center; }
.ch-bigav { width: 46px; height: 46px; border-radius: 50%; background: #f1f0ec; display: grid; place-items: center; font-weight: 500; color: var(--c-ink2); flex: none; border: 1px solid var(--c-hair); }
.ch-dhead h4 { margin: 0 0 4px; font-size: 18px; font-weight: 600; }
.ch-dhead .ch-wl { margin-left: 8px; }
.ch-dl { display: grid; grid-template-columns: 130px 1fr; margin: 16px 0 0; }
.ch-dl dt, .ch-dl dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--c-hair); font-size: 13px; }
.ch-dl dt { color: var(--c-ink3); }
.ch-dl small { display: flex; gap: 5px; align-items: center; color: var(--c-ink3); font-size: 11.5px; margin-top: 3px; }
.ch-dl small .i { width: 11px; height: 11px; }
.ch-drawer h5 { margin: 18px 0 4px; font-size: 14px; font-weight: 600; }
.ch-btn-ai { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; padding: 6px 11px; border: 1.5px solid var(--c-ink); border-radius: 8px; background: #fff; font-weight: 500; font-size: 13px; cursor: pointer; }
.ch-btn-ai svg { width: 13px; height: 13px; fill: var(--c-brand); }
.ch-btn-ai:focus-visible { outline: 2px solid var(--c-ai-accent); outline-offset: 2px; }
#res-box .ch-ai { margin-top: 10px; }

/* Evidence and Approve */
.ch-apwrap { position: relative; display: inline-flex; gap: 8px; align-items: center; }
.ch-approve { all: unset; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 7px; background: #f1f0ec; color: var(--c-muted); font-weight: 500; font-size: 13px; cursor: pointer; }
.ch-approve .i { width: 13px; height: 13px; }
.ch-approve.ready { background: var(--c-ink); color: #fff; }
.ch-approve.ready .i { display: none; }
.ch-approve.done { background: var(--c-green-bg); color: var(--c-green); cursor: default; }
.ch-approve:focus-visible, .ch-outst-chip:focus-visible { outline: 2px solid var(--c-ai-accent); outline-offset: 2px; }
.ch-apop { position: absolute; z-index: 10; top: calc(100% + 8px); right: 0; width: 330px; max-width: calc(100vw - 48px); background: #fff; border: 1px solid var(--c-border); border-radius: 10px; box-shadow: 0 12px 32px -8px rgba(20,12,60,.25); padding: 12px 14px; font-size: 13px; }
.ch-apop[hidden] { display: none; }
.ch-apop > b { display: block; font-weight: 600; margin-bottom: 4px; }
.ch-apop .who { margin: 10px 0 2px; font-size: 12px; color: var(--c-ink3); }
.ch-apop .row { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--c-row); }
.ch-link { display: inline-block; margin-top: 10px; color: var(--c-action); text-decoration: none; font-weight: 500; }
.ch-need-c { font-size: 11.5px; font-weight: 500; background: var(--c-amber-wash); color: var(--c-amber); padding: 2px 7px; border-radius: 5px; white-space: nowrap; }
.ch-ev { padding: 18px 22px 20px; }
.ch-etable td { white-space: nowrap; }
.ch-etable td.st { width: 1%; }
.ch-pgrp td { padding-top: 16px; }
.ch-pchip { display: inline-flex; align-items: center; gap: 6px; background: #f1f0ec; border-radius: 6px; padding: 3px 8px 3px 5px; font-weight: 600; font-size: 13px; }
.ch-pchip .ch-ini { margin: 0; width: 18px; height: 18px; font-size: 8.5px; background: #fff; }
.ch-pmeta { margin-left: 8px; font-size: 11.5px; color: var(--c-ink3); }
.ch-pmeta .ch-tagc { margin-right: 6px; }
.ch-ico-st { width: 16px; height: 16px; display: block; color: var(--c-amber); }
.ch-ico-st.ok { color: var(--c-green); }
.ch-src { display: inline-flex; gap: 6px; align-items: center; color: var(--c-ink2); font-size: 12.5px; }
.ch-src i { font: 500 10.5px/1 var(--c-mono); background: #f1f0ec; padding: 3px 5px; border-radius: 4px; font-style: normal; color: var(--c-ink3); }
.ch-ok-c { font-size: 11.5px; font-weight: 500; background: var(--c-green-bg); color: var(--c-green); padding: 2px 7px; border-radius: 5px; }
.ch-rev { all: unset; padding: 5px 11px; border: 1px solid var(--c-border); border-radius: 7px; font-weight: 500; font-size: 13px; cursor: pointer; background: #fff; }
.ch-rev:hover { border-color: var(--c-ink3); }
.ch-rev:focus-visible { outline: 2px solid var(--c-ai-accent); outline-offset: 2px; }
.ch-rev:disabled { opacity: .45; cursor: default; }
.ch-etable tr.fresh td { animation: ch-fresh 1.6s ease-out; }

/* Insights */
.ch-ins { padding: 22px 24px 24px; }
.ch-ins-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.ch-sample { font: 500 11px/1 var(--c-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--c-ink3); border: 1px dashed var(--c-border); padding: 5px 8px; border-radius: 6px; white-space: nowrap; }
.ch-filters { display: flex; flex-wrap: wrap; gap: 14px 18px; margin: 18px 0 0; padding-bottom: 16px; border-bottom: 1px solid var(--c-hair); }
.ch-fl { display: block; font: 500 10.5px/1 var(--c-ui); letter-spacing: .07em; text-transform: uppercase; color: var(--c-ink3); margin-bottom: 7px; }
.ch-seg { display: inline-flex; border: 1px solid var(--c-border); border-radius: 7px; overflow: hidden; }
.ch-seg i { font-style: normal; padding: 6px 10px; font-size: 13px; color: var(--c-ink2); }
.ch-seg i.on { background: #eef4ff; color: #2563eb; font-weight: 500; }
.ch-sel { display: inline-flex; align-items: center; gap: 22px; border: 1px solid var(--c-border); border-radius: 7px; padding: 6px 10px; font-size: 13px; }
.ch-sel .i { width: 13px; height: 13px; }
.ch-kpis { display: grid; grid-template-columns: repeat(5, 1fr); border-bottom: 1px solid var(--c-hair); }
.ch-kpis div { padding: 16px 16px 16px 0; display: grid; gap: 4px; }
.ch-kpis div + div { border-left: 1px solid var(--c-hair); padding-left: 16px; }
.ch-kpis span { font-size: 12.5px; color: var(--c-ink2); }
.ch-kpis b { font-size: 24px; font-weight: 600; letter-spacing: -.01em; }
.ch-kpis b.crit { color: var(--c-red); }
.ch-kpis small { font-size: 12px; color: var(--c-ink3); }
.ch-kpis small.bad { color: var(--c-red); }
.ch-backlog { padding-top: 18px; }
.ch-bl-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; align-items: baseline; }
.ch-bl-head b { font-weight: 600; font-size: 14px; }
.ch-legend { display: inline-flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12.5px; color: var(--c-ink2); align-items: center; }
.ch-legend i { width: 9px; height: 9px; border-radius: 2px; display: inline-block; margin-right: -6px; }
.ch-legend .a, .ch-bar .a { background: #a9c8ef; }
.ch-legend .b, .ch-bar .b { background: #2a78d6; }
.ch-legend .c, .ch-bar .c { background: #122d55; }
.ch-legend .d, .ch-bar .d { background: #eb6834; }
.ch-barrow { display: grid; grid-template-columns: 120px 1fr 28px; gap: 12px; align-items: center; padding: 7px 0; font-size: 13px; }
.ch-bar { display: flex; height: 10px; gap: 2px; }
.ch-bar span { height: 100%; border-radius: 2px; }
.ch-barrow b { text-align: right; font-weight: 600; font-family: var(--c-mono); font-size: 12px; }

@media (prefers-reduced-motion: reduce) {
  .ch-ai.is-working .ch-txt { animation: none; background: none; color: var(--c-v6t2); }
  .ch-ai.intro .ch-txt, .ch-hrow.fresh, .ch-etable tr.fresh td { animation: none; }
  .ch-scrim, .ch-modal { transition: none; }
}
@media (max-width: 980px) {
  .ch-body { grid-template-columns: 1fr; }
  .ch-rail { border-left: 0; border-top: 1px solid var(--c-hair); grid-template-columns: 1fr; }
  .ch-tabs { flex-direction: row; justify-content: flex-start; padding: 6px 10px; border-right: 0; border-bottom: 1px solid var(--c-hair); }
  .ch-str { grid-template-columns: 1fr; }
  .ch-drawer { border-left: 0; border-top: 1px solid var(--c-hair); box-shadow: none; }
  .ch-kpis { grid-template-columns: repeat(3, 1fr); }
  .ch-kpis div:nth-child(4) { border-left: 0; padding-left: 0; }
}
@media (max-width: 760px) {
  .ch-app { grid-template-columns: 1fr; min-height: 0; }
  .ch-side { display: none; }
  .ch-focus-note, .ch-hide-s, .ch-tools { display: none; }
  .ch-day { margin-bottom: 8px; }
  .ch-etable { min-width: 0; }
  .ch-etable th:nth-child(3), .ch-etable td:nth-child(3), .ch-etable th:nth-child(1), .ch-etable td:nth-child(1):not([colspan]) { display: none; }
  .ch-etable td { white-space: normal; }
  .ch-ptable { min-width: 0; }
  .ch-ptable th:nth-child(2), .ch-ptable td:nth-child(2) { display: none; }
  .ch-scrim { display: none; }
  .ch-modal { position: relative; inset: auto; margin: 0 10px 12px; border: 1px solid var(--c-hair); box-shadow: 0 12px 30px -16px rgba(20,12,60,.35); }
  .ch.closed .ch-modal { display: none; }
  .ch-top { flex-wrap: wrap; }
  .ch-of { display: none; }
  .ch-work { padding: 18px 16px 20px; }
  .ch-kv { grid-template-columns: 112px 1fr; }
  .ch-kpis { grid-template-columns: 1fr 1fr; }
  .ch-kpis div, .ch-kpis div + div { border-left: 0; padding-left: 0; }
  .ch-barrow { grid-template-columns: 96px 1fr 24px; }
  .ch-chead { padding: 14px 14px 10px; }
  .ch-ctabs { padding: 0 14px; }
  .ch-str-main, .ch-ev { padding: 14px; }
  .ch-ins { padding: 18px 14px; }
  .ch-apwrap { flex-wrap: wrap; width: 100%; }
  .ch-apop { position: static; width: 100%; max-width: none; box-sizing: border-box; }
}
/* Stu 12 Oct: the Zenoo suggestion stands out as a dark AI card on the website islands. */
.ch .ch-ai:not(.done) { --c-text: #ffffff; --c-v6t2: #c9c7d1; --c-text2: #a5a3ae; --c-action: #c4b5ff; --c-action-tint: rgba(196,181,255,.16); --c-muted: #8b8995; --c-border: #2e2c38; --c-brand: #c4b5ff;
  padding: 12px 14px; border-radius: 12px; border: 1px solid transparent;
  background: linear-gradient(100deg, #1b1630 0%, #141219 55%, #111017 100%) padding-box, linear-gradient(120deg, #6548e8, #a35cf0 40%, #e8559a 75%, #f6844b) border-box;
  box-shadow: 0 10px 28px -12px rgba(100,80,250,.55); }
.ch .ch-ai:not(.done) .ch-mark .rest { fill: url(#ch-sp); }
.ch .ch-ai .ch-pop { --c-text: #202124; --c-text2: #5f6368; --c-border: #e7e5e0; --c-action: #6548e8; --c-muted: #9aa0a6; }
.ch .ch-ai .ch-basis { background: #0b0a10; color: #fff; }
.ch .ch-ai:not(.done) .ch-btn { background: #1d1c25; color: #fff; border-color: #2e2c38; }
.ch .ch-ai:not(.done) .ch-btn.pri { background: #fff; color: #16151c; border-color: #fff; }
/* Platform bento (replaces the observability screenshot, Stu 12 Oct, after ClickUp Brain grid) */
.ob { --sp1:#6548e8; --sp2:#a35cf0; --sp3:#e8559a; --sp4:#f6844b; --sp5:#3e8bf0; position: relative; background: #08080b; color: #f4f3f0; border-radius: 20px; overflow: hidden; isolation: isolate; }
.ob::before { content: ""; position: absolute; inset: -20% -10% auto; height: 420px; z-index: -1; background: radial-gradient(40% 60% at 30% 100%, rgba(100,80,250,.45), transparent 70%), radial-gradient(35% 55% at 70% 100%, rgba(232,85,154,.35), transparent 70%), radial-gradient(30% 50% at 50% 110%, rgba(246,132,75,.25), transparent 70%); filter: blur(10px); }
.ob-head { text-align: center; padding: 72px 24px 56px; max-width: 760px; margin: 0 auto; }
.ob-eye { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #a5a3ae; }
.ob-h { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.05; letter-spacing: -.03em; font-weight: 600; margin: 16px 0 0; color: #fff; }
.ob-h em { font-style: normal; background: linear-gradient(90deg, #fff 0%, #d8d4ff 40%, #f6b6d2 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ob-lead { color: #b9b7c2; margin: 18px auto 0; max-width: 600px; }
.ob-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #23222b; }
.ob-tile { position: relative; padding: 28px 26px 0; border-right: 1px solid #23222b; border-bottom: 1px solid #23222b; min-height: 400px; display: flex; flex-direction: column; overflow: hidden; }
.ob-tile:nth-child(3n) { border-right: 0; }
.ob-tile:nth-child(n+4) { border-bottom: 0; }
.ob-tile h3 { font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin: 0; }
.ob-tile > p { font-size: 15px; line-height: 1.5; color: #a5a3ae; margin: 12px 0 0; }
.ob-vis { position: relative; flex: 1; min-height: 210px; display: flex; align-items: center; justify-content: center; }
.ob .i { width: 16px; height: 16px; flex: none; }
.ob-sample { position: absolute; top: 14px; right: 0; font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: #74727e; border: 1px solid #2a2933; border-radius: 4px; padding: 2px 6px; }
/* 1. network */
.ob-net > svg { position: absolute; inset: 10px -26px 30px; width: calc(100% + 52px); height: calc(100% - 40px); }
.ob-lines path { fill: none; stroke: #2f2e38; stroke-width: 1; }
.ob-flow path { fill: none; stroke: url(#ob-sp); stroke-width: 1.4; stroke-dasharray: 18 220; animation: ob-flow 3.2s linear infinite; }
.ob-flow path:nth-child(2) { animation-delay: -.8s; } .ob-flow path:nth-child(3) { animation-delay: -1.6s; } .ob-flow path:nth-child(4) { animation-delay: -2.4s; }
@keyframes ob-flow { from { stroke-dashoffset: 238; } to { stroke-dashoffset: 0; } }
.ob-box { fill: #0f0e14; filter: drop-shadow(0 0 22px rgba(163,92,240,.35)); }
.ob-brk { fill: none; stroke: url(#ob-sp); stroke-width: 1.5; }
.ob-node { position: absolute; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #15141b; border: 1px solid #2a2933; color: #d6d4de; box-shadow: 0 4px 16px rgba(0,0,0,.5); }
.ob-pill { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: #17161d; border: 1px solid #2a2933; font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #e9e7ef; white-space: nowrap; }
.ob-pill i { width: 7px; height: 7px; border-radius: 50%; background: #4cbb7f; box-shadow: 0 0 0 0 rgba(76,187,127,.6); animation: ob-ping 2s ease-out infinite; }
@keyframes ob-ping { to { box-shadow: 0 0 0 8px rgba(76,187,127,0); } }
/* 2. runs */
.ob-runs { align-items: flex-end; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 45%); mask-image: linear-gradient(to bottom, transparent, #000 45%); }
.ob-runs ul { list-style: none; margin: 0; padding: 0 0 22px; width: 100%; display: flex; flex-direction: column; gap: 6px; }
.ob-runs li { display: grid; grid-template-columns: 62px 1fr auto auto; gap: 10px; align-items: center; font-family: var(--font-mono); font-size: 11.5px; color: #a5a3ae; padding: 8px 10px; border-radius: 8px; background: #111017; border: 1px solid #1f1e27; animation: ob-in .4s var(--ease) both; }
.ob-runs li b { font-weight: 500; color: #e9e7ef; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ob-runs li .ok, .ob-runs li .rv { display: inline-flex; align-items: center; gap: 5px; }
.ob-runs li .ok::before, .ob-runs li .rv::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: #4cbb7f; }
.ob-runs li .rv { color: #e2a04a; } .ob-runs li .rv::before { background: #e2a04a; }
@keyframes ob-in { from { opacity: 0; transform: translateY(8px); } }
/* 3. fails closed */
.ob-card { width: 100%; max-width: 330px; border-radius: 14px; background: linear-gradient(#111017, #111017) padding-box, linear-gradient(135deg, #2a2933, #2a2933) border-box; border: 1px solid transparent; padding: 14px; transition: background .4s; }
.ob-card.lit { background: linear-gradient(#111017, #111017) padding-box, linear-gradient(135deg, var(--sp1), var(--sp3) 55%, var(--sp4)) border-box; }
.ob-card-h { display: flex; align-items: center; gap: 8px; color: #e9e7ef; font-size: 14px; padding-bottom: 10px; border-bottom: 1px solid #1f1e27; }
.ob-card-h span { flex: 1; }
.ob-st { font-family: var(--font-mono); font-size: 11px; font-weight: 500; padding: 3px 8px; border-radius: 6px; background: #1d1c25; color: #a5a3ae; }
.ob-st.bad { background: #2d1a1a; color: #ef6b6b; } .ob-st.warn { background: #2b2216; color: #e2a04a; }
.ob-step { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #a5a3ae; margin-top: 10px; opacity: .18; transition: opacity .4s, color .4s; }
.ob-step.on { opacity: 1; } .ob-step.on:last-child { color: #e9e7ef; }
/* 4. latency */
.ob-lat { flex-direction: column; justify-content: flex-end; gap: 16px; padding-bottom: 26px; }
.ob-spark { width: 100%; height: 70px; overflow: visible; }
.ob-spark path { fill: none; stroke: url(#ob-sp); stroke-width: 2; vector-effect: non-scaling-stroke; }
.ob-pcts { width: 100%; display: grid; gap: 10px; }
.ob-pcts div, .ob-bars div { display: grid; grid-template-columns: 44px 1fr 40px; gap: 10px; align-items: center; font-family: var(--font-mono); font-size: 11.5px; color: #a5a3ae; }
.ob-pcts em { font-style: normal; color: #e9e7ef; text-align: right; }
.ob-pcts i, .ob-bars i { display: flex; height: 8px; border-radius: 4px; background: #1a1921; overflow: hidden; }
.ob-pcts b { width: var(--w); background: linear-gradient(90deg, var(--sp1), var(--sp3)); border-radius: 4px; transform-origin: left; animation: ob-grow 1.4s var(--ease) both; }
@keyframes ob-grow { from { transform: scaleX(0); } }
/* 5. backlog */
.ob-back { padding-bottom: 26px; align-items: flex-end; }
.ob-bars { width: 100%; display: grid; gap: 14px; }
.ob-bars div { grid-template-columns: 96px 1fr; }
.ob-bars i { height: 14px; gap: 2px; background: transparent; }
.ob-bars b { width: var(--w); border-radius: 3px; transform-origin: left; animation: ob-grow 1.2s var(--ease) both; }
.ob-bars b.a { background: #a9c8ef; } .ob-bars b.b { background: #2a78d6; } .ob-bars b.c { background: #3d5f96; } .ob-bars b.d { background: #eb6834; }
/* 6. AI */
.ob-ai { flex-direction: column; gap: 14px; }
.ob-aiw { width: 100%; max-width: 360px; display: flex; gap: 12px; align-items: center; padding: 16px 18px; border-radius: 16px; background: linear-gradient(100deg, rgba(100,80,250,.18), rgba(232,85,154,.10) 60%, rgba(17,16,23,.9)); border: 1px solid #2a2933; }
.ob-mk { width: 22px; height: 22px; flex: none; }
.ob-ait { font-size: 14px; line-height: 1.45; color: #e9e7ef; }
.ob-aiw.work .ob-ait { background: linear-gradient(90deg, #8b8995 0%, #8b8995 35%, var(--sp2) 45%, var(--sp3) 50%, var(--sp4) 55%, #8b8995 65%, #8b8995 100%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: ch-sweep 2.4s linear infinite; }
.ob-ait b { font-weight: 600; color: #fff; }
.ob-ait small { display: block; margin-top: 4px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; color: #a5a3ae; }
.ob-q { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #a5a3ae; }
.ob-qi { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; background: #17161d; border: 1px solid #2a2933; color: #e9e7ef; }
@media (max-width: 960px) {
  .ob-grid { grid-template-columns: 1fr 1fr; }
  .ob-tile:nth-child(n) { border-right: 1px solid #23222b; border-bottom: 1px solid #23222b; }
  .ob-tile:nth-child(2n) { border-right: 0; } .ob-tile:nth-child(n+5) { border-bottom: 0; }
}
@media (max-width: 640px) {
  .ob-head { padding: 48px 20px 36px; }
  .ob-grid { grid-template-columns: 1fr; }
  .ob-tile:nth-child(n) { border-right: 0; border-bottom: 1px solid #23222b; min-height: 360px; padding: 24px 20px 0; }
  .ob-tile:last-child { border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ob *, .ob *::before { animation: none !important; transition: none !important; }
}
.ob-ag { display: flex; align-items: center; gap: 10px; }
.ob-av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; flex: none; background: linear-gradient(#15141b, #15141b) padding-box, linear-gradient(135deg, var(--sp1), var(--sp3), var(--sp4)) border-box; border: 1.5px solid transparent; }
.ob-av .i { width: 15px; height: 15px; }
.ob-ag h3 { flex: 1; }
.ob-when { font-family: var(--font-mono); font-size: 11px; color: #74727e; white-space: nowrap; }
.ob-runs li { grid-template-columns: 44px 1fr auto; }
.ob-runs li .bad { display: inline-flex; align-items: center; gap: 5px; color: #ef6b6b; }
.ob-runs li .bad::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: #ef6b6b; }
.ob-st.good { background: #17271f; color: #4cbb7f; }
.ob-hand { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding: 20px 26px; border-top: 1px solid #23222b; background: #0d0c12; font-size: 13.5px; color: #b9b7c2; }
.ob-ht { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; }
.ob-ht time { font-family: var(--font-mono); font-weight: 500; font-size: 12px; padding: 3px 8px; border-radius: 6px; background: #1d1c25; color: #e9e7ef; }
.ob-hi { display: inline-flex; align-items: center; gap: 7px; }
.ob-hi b { color: #fff; font-weight: 600; }
.ob-hand .ob-sample { position: static; margin-left: auto; }
@media (max-width: 640px) { .ob-hand { padding: 18px 20px; } .ob-hand .ob-sample { margin-left: 0; } .ob-when { display: none; } }
.ob-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.ob-grid::-webkit-scrollbar { display: none; }
.ob-grid:focus-visible { outline: 2px solid #8b74ff; outline-offset: -2px; }
.ob-tile, .ob-tile:nth-child(n) { flex: 0 0 calc(100% / 3); scroll-snap-align: start; border-bottom: 0; border-right: 1px solid #23222b; }
.ob-flow path { animation-duration: 5s; }
.ob-nav { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 14px 20px; border-top: 1px solid #23222b; }
.ob-count { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #8b8995; margin-right: 6px; }
.ob-arr { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #15141b; border: 1px solid #2a2933; color: #e9e7ef; cursor: pointer; transition: background .15s, opacity .15s; }
.ob-arr:hover:not(:disabled) { background: #1f1e27; }
.ob-arr:disabled { opacity: .35; cursor: default; }
@media (max-width: 960px) { .ob-tile, .ob-tile:nth-child(n) { flex-basis: 50%; } }
@media (max-width: 640px) { .ob-tile, .ob-tile:nth-child(n) { flex-basis: 86%; border-bottom: 0; } }
/* Discussion pane, played live (Stu 12 Oct) */
.ch-dp { --hairline: #e7e5e0; --ink: #202124; --ink-2: #5f6368; --ink-3: #80868b; --accent: #6548e8; --accent-wash: #f5f2ff; --surface: #fff; min-width: 0; }
.ch-dp-top { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--c-border); font-size: 13.5px; min-width: 0; }
.ch-dp-top b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ch-dp-replay { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid var(--c-border); border-radius: 8px; background: #fff; font-size: 12.5px; cursor: pointer; }
.ch-dp-replay .i { width: 14px; height: 14px; }
.ch-dp-body { display: grid; grid-template-columns: 52px 1fr; min-height: 470px; }
.ch-dp-rail { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 0; background: var(--c-sidebar, #faf9f6); border-right: 1px solid var(--c-border); }
.ch-dp-rail button { position: relative; width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 6px; background: transparent; color: var(--c-text2); cursor: pointer; }
.ch-dp-rail button[aria-selected="true"] { background: var(--c-action-tint); color: var(--c-text); }
.ch-dp-rail .i { width: 18px; height: 18px; }
.ch-dp .tabs button .ch-dp-badge, .ch-dp-badge { position: absolute; top: -3px; right: -4px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--c-action); color: #fff; font: 600 10px/16px var(--c-ui); font-style: normal; text-align: center; }
.ch-dp-main { min-width: 0; display: flex; flex-direction: column; }
.ch-dp-main .tabpanel { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.ch-dp-main .tabpanel[hidden] { display: none; }
.ch-dp-h { display: flex; align-items: center; gap: 8px; padding: 14px 18px 10px; color: var(--c-text2); }
.ch-dp-h b { color: var(--c-text); font-size: 15px; }
.ch-dp-h .i { width: 17px; height: 17px; margin-left: 10px; }
.ch-dp-list { flex: 1; padding: 0 18px; }
.ch-dp-msg { display: grid; grid-template-columns: 30px 1fr; gap: 10px; padding: 10px 0 6px; animation: ch-dp-in .45s var(--ease, ease) both; }
@keyframes ch-dp-in { from { opacity: 0; transform: translateY(8px); } }
.ch-av.sm, .ch-dp-msg .ch-av { width: 28px; height: 28px; font-size: 10.5px; }
.ch-dp-by { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font-size: 13.5px; }
.ch-dp-by b { font-weight: 600; color: var(--c-text); }
.ch-dp-by span { font: 400 11.5px/1.4 var(--c-mono); color: var(--c-muted); }
.ch-dp-msg p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--c-text); }
.ch-dp-msg .men { color: var(--c-action); font-weight: 500; }
.ch-dp-file { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--c-action); font-size: 13px; }
.ch-dp-file small { font: 400 11px var(--c-mono); color: var(--c-muted); }
.ch-dp-file .i { width: 14px; height: 14px; }
.ch-dp-act { position: relative; display: flex; align-items: center; gap: 8px; margin-top: 6px; color: var(--c-muted); font-size: 12.5px; }
.ch-dp-act .i { width: 16px; height: 16px; }
.ch-dp-act .rep { margin-left: auto; }
.ch-dp-emo { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; }
.ch-dp-emo.on { background: var(--c-sunken, #f1f1ef); color: var(--c-text); }
.ch-dp-chip { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border: 1px solid var(--c-action); border-radius: 8px; background: var(--c-action-tint); color: var(--c-text); font-size: 12.5px; font-weight: 500; animation: ch-dp-pop .35s cubic-bezier(.3,1.6,.5,1) both; }
@keyframes ch-dp-pop { from { transform: scale(.4); opacity: 0; } }
.ch-dp-pick { position: absolute; left: 0; bottom: calc(100% + 4px); z-index: 5; display: grid; padding: 6px; min-width: 190px; border: 1px solid var(--c-border); border-radius: 12px; background: #fff; box-shadow: 0 12px 32px -8px rgba(20,12,60,.22); animation: ch-dp-in .2s ease both; }
.ch-dp-pick span { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 7px; font-size: 13.5px; color: var(--c-text); transition: background .15s; }
.ch-dp-pick span.hl { background: var(--c-sunken, #f1f1ef); }
.ch-dp-typing { display: flex; align-items: center; gap: 8px; padding: 6px 18px; font-size: 12.5px; color: var(--c-muted); }
.ch-dp-typing[hidden] { display: none; }
.ch-dp-typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--c-muted); animation: ch-dp-dot 1.1s infinite ease-in-out; }
.ch-dp-typing i:nth-of-type(2) { animation-delay: .15s; } .ch-dp-typing i:nth-of-type(3) { animation-delay: .3s; }
@keyframes ch-dp-dot { 0%, 60%, 100% { opacity: .25; transform: none; } 30% { opacity: 1; transform: translateY(-2px); } }
.ch-dp-compose { margin: 10px 14px 14px; border: 1px solid var(--c-border); border-radius: 12px; transition: border-color .2s, box-shadow .2s; }
.ch-dp-compose.focus { border-color: var(--c-action-border, #ded6ff); box-shadow: 0 0 0 3px var(--c-action-tint); }
.ch-dp-input { min-height: 44px; padding: 10px 12px 4px; font-size: 13.5px; line-height: 1.5; color: var(--c-text); }
.ch-dp-ph { color: var(--c-muted); }
.ch-dp-caret { display: inline-block; width: 1.5px; height: 1.1em; margin-left: 1px; vertical-align: -2px; background: var(--c-text); animation: ch-dp-blink 1s steps(1) infinite; }
.ch-dp-caret[hidden] { display: none; }
@keyframes ch-dp-blink { 50% { opacity: 0; } }
.ch-dp-tools { display: flex; align-items: center; gap: 10px; padding: 4px 10px 8px; color: var(--c-muted); }
.ch-dp-tools .i { width: 16px; height: 16px; }
.ch-dp-send { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--c-sunken, #f1f1ef); color: var(--c-muted); transition: background .2s, color .2s; }
.ch-dp-send.ready { background: var(--c-text); color: #fff; }
.ch-dp .dline { padding: 10px 18px; border-bottom: 1px solid var(--c-border); font-size: 13.5px; }
.ch-dp .hist-note { padding: 0 18px 8px; margin: 0; font-size: 12.5px; color: var(--c-muted); }
@media (max-width: 600px) { .ch-dp-body { grid-template-columns: 44px 1fr; min-height: 500px; } .ch-dp-h .i { display: none; } .ch-dp-top .ch-mono { display: none; } }
@media (prefers-reduced-motion: reduce) { .ch-dp *, .ch-dp *::before { animation: none !important; transition: none !important; } }
.ch-dp-replay[hidden], .ch-dp .tabs button .ch-dp-badge[hidden] { display: none; }
.ch-dp .men { color: var(--c-action); font-weight: 500; }
/* Tasks with slash commands */
.ch-tk-add { color: var(--c-action); font-weight: 500; font-size: 13.5px; }
.ch-tk-list { padding: 0 18px; }
.ch-tk-empty { margin: 0; padding: 4px 0 10px; color: var(--c-text2); font-size: 13.5px; }
.ch-tk-row { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 8px 0 12px; animation: ch-dp-in .4s ease both; }
.ch-tk-row > .i { width: 20px; height: 20px; color: var(--c-muted); margin-top: 1px; }
.ch-tk-row b { display: block; font-weight: 400; font-size: 14px; color: var(--c-text); }
.ch-tk-meta { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 13px; color: var(--c-text2); }
.ch-tk-new { position: relative; display: flex; align-items: center; gap: 10px; margin: 0 18px; padding: 10px 0; border-top: 1px solid var(--c-border); color: var(--c-muted); }
.ch-tk-new > .i { width: 17px; height: 17px; flex: none; }
.ch-tk-in { flex: 1; min-width: 0; font-size: 13.5px; color: var(--c-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ch-tk-chips { display: flex; gap: 6px; flex: none; }
.ch-tk-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 6px; background: var(--c-sunken, #f1f1ef); color: var(--c-text2); font-size: 12.5px; white-space: nowrap; animation: ch-dp-pop .3s cubic-bezier(.3,1.5,.5,1) both; }
.ch-tk-chip .i { width: 13px; height: 13px; }
.ch-tk-menu, .ch-tk-people { position: absolute; z-index: 6; top: calc(100% + 4px); left: 24px; right: 0; padding: 10px; border: 1px solid var(--c-border); border-radius: 12px; background: #fff; box-shadow: 0 12px 32px -8px rgba(20,12,60,.22); animation: ch-dp-in .18s ease both; }
.ch-tk-menu[hidden], .ch-tk-people[hidden] { display: none; }
.ch-tk-menu p { margin: 2px 6px 8px; font: 600 10.5px/1 var(--c-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); }
.ch-tk-menu > div { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 6px; }
.ch-tk-menu span, .ch-tk-people span { display: flex; align-items: center; gap: 9px; padding: 5px 6px; border-radius: 8px; font-size: 13px; color: var(--c-text); white-space: nowrap; transition: background .15s; }
.ch-tk-menu span .i { box-sizing: border-box; width: 26px; height: 26px; padding: 5px; border: 1px solid var(--c-border); border-radius: 7px; color: var(--c-text2); }
.ch-tk-menu span.hl, .ch-tk-people span.hl { background: var(--c-sunken, #f1f1ef); }
.ch-tk-people { display: grid; gap: 2px; right: auto; min-width: 250px; }
.ch-tk-people i { font-style: normal; }
.ch-tk-people small { color: var(--c-muted); font-size: 12px; }
@media (max-width: 600px) { .ch-tk-menu > div { grid-template-columns: 1fr; } .ch-tk-menu, .ch-tk-people { left: 0; min-width: 0; } .ch-tk-chip span { display: none; } }

/* ===== ClickUp layer (Stu 12 Oct: "closer to ClickUp"). Shared by both variants. ===== */
:root { --canvas: #ffffff; --display: "Inter Tight", "Inter", -apple-system, "Segoe UI", sans-serif; --grey-2nd: #7d8299; --panel: #f6f6f8; --cu-line: #ececf0; --cu-black: #050507; }
@media not all { :root:not([data-theme="light"]) { --canvas: #0e0e11; --grey-2nd: #6f6d79; --panel: #17171c; --cu-line: #26252d; } }
:root[data-theme="zenoo-never"] { --canvas: #0e0e11; --grey-2nd: #6f6d79; --panel: #17171c; --cu-line: #26252d; }
body { background: var(--canvas); }

/* announcement bar */
.ribbon { background: var(--panel); border-bottom: 0; color: var(--ink); font-size: 13.5px; font-weight: 500; }
.ribbon .wrap { padding-block: 10px; }
.ribbon .mono { color: var(--ink); font-weight: 600; }

/* nav */
.nav { background: color-mix(in srgb, var(--canvas) 88%, transparent); border-bottom-color: transparent; }
.nav .wrap { height: 72px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--ink-2); }
.nav-right .text-link { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 9px; background: var(--panel); color: var(--ink); font-weight: 600; font-size: 14.5px; }
.btn { height: 46px; padding-inline: 20px; border-radius: 11px; font-weight: 600; font-size: 15.5px; letter-spacing: -.005em; }
.btn-sm { height: 36px; padding-inline: 14px; border-radius: 9px; font-size: 14.5px; }
.btn-ghost { background: var(--panel); border-color: transparent; }
.btn-ghost:hover { border-color: var(--cu-line); }

/* type: big, tight, two-tone */
h1, h2, .h2, .ob-h { font-family: var(--display); }
.hero h1 { font-weight: 650; font-size: clamp(42px, 7.2vw, 86px); line-height: .98; letter-spacing: -.052em; max-width: 14ch; margin-top: 22px; }
.hero h1 em { color: var(--grey-2nd); }
.hero .lead { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.45; color: var(--ink-2); max-width: 54ch; }
.h2 { font-weight: 650; font-size: clamp(32px, 4.8vw, 58px); line-height: 1.02; letter-spacing: -.045em; }
.hero-tag { padding: 6px 14px 6px 6px; font-size: 14px; font-weight: 500; color: var(--ink); border-color: var(--cu-line); }
.hero-tag b { border: 0; }

/* the day rail becomes a chip above each moment (ClickUp's pill), sections centred */
.event { grid-template-columns: minmax(0, 1fr); --pad: clamp(88px, 10vw, 136px); }
.event::before, .day-label { display: none; }
.stamp { position: static; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; padding: var(--pad) 0 22px; width: max-content; max-width: 100%; margin-inline: auto; }
.stamp .node { display: none; }
.wrap .stamp time { display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border-radius: 999px; background: var(--ink); color: var(--canvas); font: 500 12.5px/1 var(--font-mono); letter-spacing: .02em; }
.stamp .what { margin: 0; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.stamp .ref { display: none; }
.event > .body { padding-top: 0; }
.hero .stamp { padding-top: clamp(56px, 7vw, 88px); justify-content: flex-start; margin-inline: 0; }
.hero .event > .body { padding-top: 0; }
.sec-head { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 18px; margin-bottom: 56px; }
.sec-head .eyebrow, #people .eyebrow, .faq .eyebrow { display: none; }
.sec-head h2 { max-width: 20ch; }
.sec-head .lead { font-size: 18.5px; max-width: 60ch; color: var(--ink-2); }
#people .body > h2 { margin: 0 auto; text-align: center; max-width: 20ch; }
.cast-note { text-align: center; }

/* cards: borderless grey panels, big radius (ClickUp feature tiles) */
.who-card, .mini { background: var(--panel); border: 0; border-radius: 20px; padding: 26px; }
.who-card .role { font-family: var(--display); font-size: 21px; font-weight: 700; letter-spacing: -.025em; }
.mini h3 { font-family: var(--display); font-size: 21px; font-weight: 700; letter-spacing: -.025em; }
.cast4 { gap: 14px; margin-top: 52px; }

/* product frames: hairline, soft, generous radius */
.stage { margin-top: 64px; }
.hint { display: flex; justify-content: center; }
.ch-frame, .ch-card, .ch-str, .ch-ev, .ch-ins { border-radius: 16px; }

/* FAQ like ClickUp's: centred heading, hairline list */
.faq { grid-template-columns: 1fr; gap: 40px; max-width: 860px; margin-inline: auto; }
.faq > div:first-child { text-align: center; }

.faq summary { font-size: 18px; font-weight: 600; padding: 24px 0; }

/* footer */
footer { border-top-color: var(--cu-line); }

/* mobile */
@media (max-width: 860px) {
  .event { --pad: 72px; }
  .stamp { justify-content: flex-start; margin-inline: 0; padding-bottom: 18px; }
  .sec-head { text-align: left; justify-items: start; }
  #people .body > h2 { text-align: left; margin: 0; }
  .cast-note { text-align: left; }
  .hint { justify-content: flex-start; }
}

/* ===== Stripe fidelity (Stu 12 Oct: "look at stripe.com, high fidelity") ===== */
/* engineered page guides: hairline verticals at the content edge, hairline rules between moments */
main > section { border-top: 1px solid var(--cu-line); }
main > section.hero { border-top: 0; }
main > section > .wrap { border-inline: 1px solid var(--cu-line); }
@media (max-width: 1240px) { main > section > .wrap { border-inline-color: transparent; } }
/* the guide gets a small tick where each moment starts */
main > section > .wrap.event::after { content: ""; position: absolute; top: -4px; left: -4px; width: 7px; height: 7px; border: 1px solid var(--hairline-strong); background: var(--canvas); transform: rotate(45deg); }
@media (max-width: 1240px) { main > section > .wrap.event::after { display: none; } }

/* product shown on a tinted stage with a colour field behind it, as Stripe's bento cards do */
.cu-stage { position: relative; isolation: isolate; overflow: hidden; border-radius: 24px; background: var(--panel); padding: clamp(14px, 3vw, 40px); }
.cu-stage::before { content: ""; position: absolute; z-index: -1; width: 70%; height: 90%; right: -18%; bottom: -36%; border-radius: 50%; background: conic-gradient(from 200deg, #6548e8, #a35cf0, #e8559a, #f6844b, #6548e8); filter: blur(60px); opacity: .55; }
.cu-stage.g2::before { right: auto; left: -20%; background: conic-gradient(from 20deg, #3e8bf0, #6548e8, #a35cf0, #3e8bf0); }
.cu-stage.g3::before { right: 10%; bottom: -50%; background: conic-gradient(from 90deg, #f6844b, #e8559a, #a35cf0, #f6844b); }
.cu-stage > .ch-frame { position: relative; box-shadow: 0 1px 1px rgba(20,18,40,.04), 0 30px 60px -30px rgba(40,30,90,.35), 0 0 0 1px rgba(20,18,40,.05); }
.cu-stage .ch-frame { margin: 0; }
/* each moment closes with its own space, so the hairline never touches a product */
.event { --pad: clamp(72px, 8vw, 112px); }
main > section .event > .body { padding-bottom: clamp(80px, 9vw, 128px); }
.wrap .stamp .actor { font-size: 12px; padding: 4px 8px; }
#rail .stamp { justify-content: flex-start; margin-inline: 0; }
@media (max-width: 860px) { .event { --pad: 64px; } main > section .event > .body { padding-bottom: 72px; } }
body { margin: 0; }
@media (min-width: 861px) { .stamp .what { white-space: nowrap; max-width: none; } }
.btn { white-space: nowrap; }
@media (max-width: 900px) { .nav-right .text-link { display: none; } }
/* ===== Version A: Clean white, with black bands for the AI moments ===== */
.hero .ch-frame { box-shadow: 0 1px 0 var(--cu-line), 0 40px 90px -40px rgba(70,50,180,.38); }

/* shared black band */
.cu-ai, #observability, #contact { background: var(--cu-black); color: #f4f3f7; position: relative; overflow: hidden; isolation: isolate; --ink: #f4f3f7; --ink-2: #b7b5c2; --ink-3: #7d7b88; --hairline: #23222b; --panel: #121118; }
#observability .wrap .stamp time, #contact .wrap .stamp time { background: #fff; color: #050507; }
#observability .stamp .what, #contact .stamp .what { color: #f4f3f7; }
#observability .actor, #contact .actor { background: #1d1c24; color: #c9c7d1; }

/* AI band (after the hero) */
.cu-ai { text-align: center; }
.cu-ai > .wrap { padding-top: clamp(96px, 11vw, 150px); }
.cu-ai::before { content: ""; position: absolute; inset: 0 -10% auto; height: 620px; z-index: -1; background: radial-gradient(30% 45% at 32% 40%, rgba(100,80,250,.42), transparent 70%), radial-gradient(28% 42% at 68% 45%, rgba(232,85,154,.32), transparent 70%), radial-gradient(26% 38% at 50% 70%, rgba(246,132,75,.22), transparent 70%); filter: blur(24px); }
.cu-ai-logo { display: inline-flex; align-items: center; gap: 14px; }
.cu-ai-logo svg { width: 52px; height: 52px; filter: drop-shadow(0 0 24px rgba(163,92,240,.7)); }
.cu-ai-logo b { font: 700 40px/1 var(--display); letter-spacing: -.04em; color: #fff; }
.cu-ai h2 { font: 700 clamp(44px, 7.6vw, 98px)/.96 var(--display); letter-spacing: -.055em; margin: 28px auto 0; max-width: 13ch; background: linear-gradient(180deg, #fff 35%, #b9b7c4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cu-ai h2 i { font-style: italic; padding-right: .06em; }
.cu-ai .cu-lede { font-size: 20px; line-height: 1.5; color: #b9b7c2; margin: 24px auto 0; max-width: 48ch; }
.cu-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 88px; border: 1px solid #22212a; border-bottom: 0; text-align: left; }
.cu-cell { padding: 32px 28px; border-right: 1px solid #22212a; min-width: 0; display: flex; flex-direction: column; gap: 14px; min-height: 380px; }
.cu-cell:last-child { border-right: 0; }
.cu-cell h3 { margin: 0; font: 500 13px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.cu-cell p { margin: 0; color: #a5a3ae; font-size: 16px; line-height: 1.55; }
.cu-cell .vis { margin-top: auto; }
.cu-kv { border: 1px solid #2a2933; border-radius: 12px; background: linear-gradient(180deg, #121118, #0b0a10); overflow: hidden; }
.cu-kv div { display: grid; grid-template-columns: 92px 1fr; gap: 8px; padding: 11px 12px; border-top: 1px solid #1f1e27; font: 400 12.5px/1.4 var(--font-mono); }
.cu-kv div:first-child { border-top: 0; }
.cu-kv span { color: #e9e7ef; } .cu-kv q { color: #8fd4a8; quotes: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .cu-kv q.no { color: #f0a0a0; }
.cu-aicard { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; border: 1px solid transparent; color: #fff; font-size: 14.5px; line-height: 1.5; background: linear-gradient(100deg, #1b1630, #141219 60%) padding-box, linear-gradient(120deg, #6548e8, #a35cf0 40%, #e8559a 75%, #f6844b) border-box; box-shadow: 0 14px 32px -14px rgba(100,80,250,.6); }
.cu-aicard svg { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.cu-aicard em { font-style: normal; color: #c4b5ff; font-weight: 600; } .cu-aicard span { color: #d6d4de; }
.cu-aicard small { display: block; margin-top: 6px; font: 400 11.5px var(--font-mono); color: #a5a3ae; }
.cu-lock { display: grid; gap: 12px; }
.cu-lock .ap { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-radius: 12px; border: 1px solid #2a2933; background: #111017; font-size: 14px; color: #e9e7ef; }
.cu-lock .ap b { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 8px; background: #23222b; color: #8b8995; font-weight: 600; }
.cu-lock .ap i { font-style: normal; font: 500 12px var(--font-mono); color: #e2a04a; background: #2b2216; padding: 4px 8px; border-radius: 6px; margin-right: 6px; }
.cu-lock ul { margin: 0; padding: 0; display: grid; gap: 8px; }
.cu-lock li { list-style: none; display: flex; justify-content: space-between; gap: 10px; font: 400 12px var(--font-mono); color: #a5a3ae; padding: 0 4px; }

/* night shift: the dark card becomes the whole band */

#observability .ob { background: transparent; border-radius: 0; overflow: visible; }
#observability .ob-head { padding-top: 8px; }
#observability .ob-grid { border: 1px solid #23222b; }

/* closing CTA band */
#contact .event > .body { padding-bottom: clamp(110px, 12vw, 160px); }
#contact::before { content: ""; position: absolute; inset: 45% -10% -30%; z-index: -1; background: radial-gradient(45% 60% at 40% 80%, rgba(163,92,240,.5), transparent 70%), radial-gradient(40% 50% at 70% 90%, rgba(232,85,154,.4), transparent 70%); filter: blur(24px); }
#contact .closing { display: block; text-align: center; border: 0; background: none; padding: 0; }
#contact .closing h2 { font-size: clamp(40px, 6.4vw, 80px); letter-spacing: -.055em; max-width: 14ch; margin-inline: auto; color: #fff; }
#contact .closing .lead { margin: 22px auto 0; color: #b9b7c2; font-size: 19px; }
#contact .closing .ctas { justify-content: center; margin-top: 34px; }
#contact .closing .qualifier { text-align: center; color: #8d8b97; }
#contact .btn-ghost { background: #1b1a22; color: #fff; }
footer { margin-top: 0; }

@media (max-width: 860px) { .cu-grid { grid-template-columns: 1fr; } .cu-cell { border-right: 0; border-bottom: 1px solid #22212a; min-height: 0; } .cu-ai { text-align: left; } .cu-ai .cu-lede { margin-left: 0; } .cu-ai h2 { margin-left: 0; } #contact .closing { text-align: left; } #contact .closing h2 { margin-left: 0; } #contact .closing .ctas { justify-content: flex-start; } #contact .closing .lead { margin-left: 0; } #contact .closing .qualifier { text-align: left; } }

.cu-ai > .wrap, #observability > .wrap, #contact > .wrap { border-inline-color: #1c1b23; }
main > section.cu-ai, main > #observability, main > #contact { border-top-color: #1c1b23; }
#observability .wrap.event::after, #contact .wrap.event::after { background: var(--cu-black); border-color: #3a3944; }
.cu-kv q.no { font-size: 12px; }
/* Stripe-style colour ribbon sweeping through the hero's right side */
.hero { position: relative; isolation: isolate; overflow: clip; }
.hero::after { content: ""; position: absolute; z-index: -1; pointer-events: none; top: -420px; right: -420px; width: 1000px; height: 1200px; border-radius: 50%;
  background: repeating-linear-gradient(115deg, rgba(255,255,255,.22) 0 1px, transparent 1px 7px), linear-gradient(160deg, #7fb2ff 0%, #8b74ff 26%, #a35cf0 42%, #e8559a 62%, #f6844b 80%, #ffc98a 100%);
  -webkit-mask-image: radial-gradient(closest-side, transparent 40%, #000 56%, #000 82%, transparent 100%); mask-image: radial-gradient(closest-side, transparent 40%, #000 56%, #000 82%, transparent 100%);
  transform: rotate(-18deg); opacity: .9; }
@media (max-width: 860px) { .hero::after { display: none; } }
/* ===== Phone layout, after ClickUp on an iPhone (Stu 12 Oct: "a proper mobile version") ===== */
.cu-burger, .cu-sheet, .cu-qgrid, .hint .m { display: none; }
@media (max-width: 640px) {
  /* bar: logo, one pill, menu */
  .ribbon .wrap > span:not(.mono) { display: none; }
  .ribbon .mono::after { content: " · Fictional data"; }
  .nav .wrap { height: 64px; gap: 12px; }
  .nav-right { gap: 10px; }
  .nav-right .btn-sm { height: 40px; padding-inline: 16px; border-radius: 11px; font-size: 15px; }
  .cu-burger { display: grid; place-items: center; width: 40px; height: 40px; margin-right: -8px; border: 0; background: none; color: var(--ink); cursor: pointer; border-radius: 10px; }
  .cu-burger svg { width: 24px; height: 24px; }
  .cu-sheet:not([hidden]) { display: flex; flex-direction: column; position: fixed; inset: 64px 0 0; z-index: 30; background: var(--canvas); padding: 8px 16px 32px; overflow-y: auto; }
  .cu-sheet nav a { display: block; padding: 18px 0; border-bottom: 1px solid var(--cu-line); color: var(--ink); text-decoration: none; font: 600 20px/1.2 var(--display); letter-spacing: -.02em; }
  .cu-sheet-ctas { display: grid; gap: 10px; margin-top: 28px; }
  .cu-sheet-ctas .btn { justify-content: center; height: 54px; border-radius: 14px; font-size: 17px; }
  html.cu-menu-open, html.cu-menu-open body { overflow: hidden; }

  /* hero: left, big, one full-width button */
  .hero .stamp { padding-top: 40px; }
  .hero h1 { font-size: 44px; line-height: 1.0; letter-spacing: -.05em; max-width: none; }
  .hero .lead { font-size: 18px; line-height: 1.5; }
  .hero-ctas, .hero .hero-ctas { display: grid; justify-content: stretch; gap: 10px; margin-top: 28px; }
  .hero-ctas .btn, #contact .ctas .btn { justify-content: center; height: 56px; border-radius: 14px; font-size: 17px; width: 100%; }
  .hero-ctas .qualifier { font-size: 13px; margin-top: 4px; }
  .hero-tag { font-size: 13px; }

  /* ClickUp's hairline app grid, edge to edge, linking to each moment */
  .cu-qgrid { display: grid; grid-template-columns: repeat(3, 1fr); margin: 40px -16px 0; border-top: 1px solid var(--cu-line); }
  .cu-qgrid a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; aspect-ratio: 1 / .92; border-right: 1px solid var(--cu-line); border-bottom: 1px solid var(--cu-line); color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 600; letter-spacing: -.01em; background: var(--surface); }
  .cu-qgrid a:nth-child(3n) { border-right: 0; }
  .cu-qgrid svg { width: 30px; height: 30px; padding: 8px; box-sizing: content-box; border-radius: 12px; background: var(--panel); stroke-width: 2; }

  /* product islands: shorter, cleaner on a phone */
  .stage { margin-top: 40px; }
  .hint { font-size: 11.5px; line-height: 1.4; }
  .hint .d { display: none; } .hint .m { display: inline; }
  .hero .ch-rows th:nth-child(3), .hero .ch-rows td:nth-child(3), .hero .ch-rows th:nth-child(4), .hero .ch-rows td:nth-child(4), .hero .ch-rows th:nth-child(6), .hero .ch-rows td:nth-child(6), .hero .ch-rows th:nth-child(7), .hero .ch-rows td:nth-child(7) { display: none; }
  .hero .ch-rows { min-width: 0; }
  .hero .ch-rows td.it { white-space: normal; }
  .hero .ch-rail { display: none; }
  .cu-stage { margin-inline: -16px; border-radius: 0; padding: 20px 12px; }

  /* swipe rows instead of tall stacks */
  .cast4, .around .cols3, .cu-four, .cu-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: -16px; padding: 4px 16px 18px; scroll-padding-inline: 16px; scrollbar-width: none; }
  .cast4::-webkit-scrollbar, .around .cols3::-webkit-scrollbar, .cu-four::-webkit-scrollbar, .cu-grid::-webkit-scrollbar { display: none; }
  .cast4 > *, .around .cols3 > *, .cu-four > *, .cu-grid > * { flex: 0 0 82%; scroll-snap-align: start; }
  .cu-grid { border: 0; margin-top: 48px; }
  .cu-grid .cu-cell, .cu-grid .cu-cell:last-child { border: 1px solid #22212a; border-radius: 20px; background: #0c0b11; min-height: 0; }
  .cu-swipe { display: block; margin-top: 2px; font: 500 11px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }

  /* headings and space */
  .h2 { font-size: 36px; }
  .cu-ai h2 { font-size: 48px; }
  .cu-ai > .wrap { padding-top: 72px; padding-bottom: 56px; }
  #contact .closing { padding: 32px 20px; border-radius: 24px; }
  #contact .closing h2 { font-size: 40px; }
  #contact .closing .ctas { display: grid; justify-content: stretch; gap: 10px; width: 100%; }
  #contact .closing .qualifier { text-align: left; }
}
@media (min-width: 641px) { .cu-swipe { display: none; } }
/* ===== Phone product moments (Stu 12 Oct, after stripe.com/payments on a phone):
   one small, solid piece of the product per moment, animating on its own, over a slanted colour band ===== */
.cu-m, .cu-mbar { display: none; }
@media (max-width: 640px) {
  .cu-m { display: block; margin-top: 32px; }
  .hero:not(.cu-full) .stage, main > section:has(.cu-m):not(.cu-full) .cu-stage { display: none; }
  .hero .cu-m { margin-top: 36px; }
  .cu-full .cu-m .cu-mstage { display: none; }
  .cu-mstage { position: relative; isolation: isolate; padding: 28px 10px 64px; margin-inline: -6px; }
  .cu-mstage::before { content: ""; position: absolute; z-index: -1; left: -16px; right: -16px; top: 34%; height: 66%; background: linear-gradient(100deg, #6548e8, #a35cf0 35%, #e8559a 65%, #f6844b); transform: skewY(-9deg); }
  .cu-mstage.g2::before { background: linear-gradient(100deg, #3e8bf0, #6548e8 45%, #a35cf0); transform: skewY(8deg); }
  .cu-mstage.g3::before { background: linear-gradient(100deg, #f6844b, #e8559a 45%, #a35cf0); }
  .cu-mcard { position: relative; background: #fff; color: #202124; border-radius: 18px; padding: 18px 16px; box-shadow: 0 1px 1px rgba(20,18,40,.05), 0 24px 48px -20px rgba(40,20,90,.45), 0 0 0 1px rgba(20,18,40,.05); font: 400 15px/1.45 var(--font-ui); text-align: left; overflow: hidden; }
  .cu-mcard [data-at] { transition: opacity .45s var(--ease), transform .45s var(--ease); }
  .mh { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
  .mh b { font: 700 18px/1.2 var(--display); letter-spacing: -.02em; }
  .msub { font-size: 13px; color: #6b6f76; text-align: right; }
  .msample { font: 500 10.5px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: #80868b; border: 1px solid #e6e4ee; border-radius: 5px; padding: 4px 6px; }
  .mchip { display: inline-flex; align-items: center; font-size: 13px; font-weight: 500; padding: 4px 9px; border-radius: 7px; background: #f1f0f4; color: #4a4d55; white-space: nowrap; }
  .mchip.amber { background: #fff3df; color: #a8650d; }
  /* rows */
  .mrows { list-style: none; margin: 0; padding: 0; border-top: 1px solid #eeedf2; }
  .mrows li { display: grid; grid-template-columns: 10px 1fr auto; gap: 10px; align-items: center; padding: 11px 2px; border-bottom: 1px solid #eeedf2; opacity: 0; transform: translateY(8px); font-size: 14.5px; }
  .mrows li.on { opacity: 1; transform: none; }
  .mrows em { font: 400 12px var(--font-mono); font-style: normal; color: #80868b; white-space: nowrap; }
  .mrows em.r { color: #c5221f; }
  .dot { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid #c4c2cc; }
  .dot.r { border-color: #c5221f; background: #fde8e7; }
  .picked .mrows li:first-child { background: #f5f2ff; border-radius: 8px; }
  .cu-m.picked .mrows li:nth-child(n+2) { opacity: .35; }
  .mpick { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 14px; opacity: 0; transform: translateY(6px); }
  .mpick.on { opacity: 1; transform: none; }
  .mav { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #2d2a3a; color: #fff; font: 600 10.5px/1 var(--font-ui); flex: none; }
  .mav.sq { border-radius: 8px; background: #efedf6; color: #4a4560; }
  .mpill { font-size: 12px; padding: 3px 8px; border-radius: 6px; background: #fdecec; color: #c43d3d; font-weight: 500; }
  /* the dark AI line, as on the desktop page */
  .mai { display: flex; gap: 11px; align-items: flex-start; margin-top: 12px; padding: 13px 14px; border-radius: 13px; border: 1px solid transparent; color: #fff; font-size: 14.5px; line-height: 1.5;
    background: linear-gradient(100deg, #1b1630, #141219 60%) padding-box, linear-gradient(120deg, #6548e8, #a35cf0 40%, #e8559a 75%, #f6844b) border-box; box-shadow: 0 12px 28px -14px rgba(100,80,250,.6); opacity: 0; transform: translateY(8px); }
  .mai.on { opacity: 1; transform: none; }
  .mai .mmk { width: 22px; height: 22px; flex: none; margin-top: 1px; }
  .cu-m.thinking:not(.said) .mai .mmk { animation: mk-pulse 1s ease-in-out infinite; }
  @keyframes mk-pulse { 50% { opacity: .35; transform: scale(.9); } }
  .mai .mt { margin: 0; color: #d6d4de; }
  .mai .mt span[data-type] { opacity: 1; }
  .mai .typing::after, .mreason .typing::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 1px; vertical-align: -2px; background: currentColor; animation: blink .8s steps(1) infinite; }
  @keyframes blink { 50% { opacity: 0; } }
  .mact { color: #c4b5ff; font-weight: 600; opacity: 0; text-decoration: underline; text-decoration-color: rgba(196,181,255,.45); text-underline-offset: 3px; }
  .mact.on, .mdot.on { opacity: 1; } .mdot { opacity: 0; }
  .cu-m.chosen .mact { background: rgba(196,181,255,.18); border-radius: 4px; box-shadow: 0 0 0 2px rgba(196,181,255,.18); }
  .mai small { display: block; margin-top: 6px; font: 400 11.5px var(--font-mono); color: #a5a3ae; opacity: 0; }
  .mai small.on { opacity: 1; }
  .mreason { margin-top: 10px; padding: 10px 12px; border: 1px solid #d9d4fb; border-radius: 10px; background: #fff; opacity: 0; transform: translateY(6px); }
  .mreason.on { opacity: 1; transform: none; }
  .mreason small { display: block; font-size: 11.5px; color: #80868b; }
  .mreason p { margin: 2px 0 0; min-height: 1.45em; font-size: 14px; }
  .mdo { display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px; opacity: 0; transform: translateY(6px); }
  .mdo.on { opacity: 1; transform: none; }
  .mbtn { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 9px; font-size: 14px; font-weight: 600; }
  .mbtn.pri { background: #202124; color: #fff; }
  .mbtn.ghost { background: #f1f0f4; color: #202124; }
  .mnote { margin: 12px 0 0; font-size: 13.5px; color: #5f636b; opacity: 0; transform: translateY(6px); }
  .mnote.on { opacity: 1; transform: none; }
  .mnote.ok { color: #137333; font-weight: 500; }
  /* ownership tree */
  .mtree { display: grid; gap: 0; }
  .mnode { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #eceaf2; border-radius: 12px; background: #fff; opacity: 0; transform: translateY(8px); }
  .mnode.on { opacity: 1; transform: none; }
  .mnode b { display: block; font-size: 14.5px; font-weight: 600; } .mnode small { display: block; font-size: 12.5px; color: #6b6f76; }
  .mnode.ubo { border-color: #d9d4fb; background: #faf8ff; }
  .mtag { display: inline-block; margin-top: 2px; font-size: 12px; font-weight: 500; padding: 2px 7px; border-radius: 6px; background: #efebff; color: #6548e8; opacity: 0; transform: scale(.9); }
  .mtag.on { opacity: 1; transform: none; }
  .mlink { position: relative; height: 34px; margin-left: 25px; opacity: 0; }
  .mlink.on { opacity: 1; }
  .mlink::before { content: ""; position: absolute; left: 0; top: 0; width: 2px; height: 0; background: linear-gradient(#a35cf0, #6548e8); transition: height .45s var(--ease); }
  .mlink.on::before { height: 100%; }
  .mlink span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font: 500 11.5px var(--font-mono); color: #6b6f76; }
  /* approval */
  .mchecks { list-style: none; margin: 0; padding: 0; border-top: 1px solid #eeedf2; }
  .mchecks li { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 9px 2px; border-bottom: 1px solid #eeedf2; font-size: 14px; }
  .mchecks li small { grid-row: 2; font-size: 12px; color: #80868b; }
  .mchecks .tick { grid-row: 1 / 3; grid-column: 2; width: 22px; height: 22px; border-radius: 50%; border: 1.5px dashed #e2a04a; position: relative; transition: background .3s, border-color .3s; }
  .mchecks li.on .tick { background: #137333; border: 1.5px solid #137333; }
  .mchecks li.on .tick::after { content: ""; position: absolute; left: 7px; top: 3px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
  .mchecks li.on span { color: #5f636b; }
  .mapprove { display: flex; justify-content: flex-end; margin-top: 14px; }
  .mbtn.lock { background: #ecebf0; color: #8b8995; transition: background .35s, color .35s, box-shadow .35s; }
  .mbtn.lock svg { width: 15px; height: 15px; }
  .cu-m.done .mbtn.lock { background: #202124; color: #fff; box-shadow: 0 0 0 4px rgba(19,115,51,.15); }
  .cu-m.done .mbtn.lock svg { display: none; }
  .cu-m.done .mchip.amber { background: #e6f4ea; color: #137333; }
  .mstamp { margin: 12px 0 0; font: 400 12px var(--font-mono); color: #137333; opacity: 0; transform: translateY(6px); }
  .mstamp.on { opacity: 1; transform: none; }
  /* insights */
  .mkpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .mkpis > div { padding: 10px; border: 1px solid #eeedf2; border-radius: 12px; opacity: 0; transform: translateY(6px); }
  .mkpis > div.on { opacity: 1; transform: none; }
  .mkpis small { display: block; font-size: 11.5px; color: #6b6f76; line-height: 1.25; min-height: 2.5em; }
  .mkpis b { display: block; margin-top: 4px; font: 700 22px/1 var(--display); letter-spacing: -.02em; }
  .mkpis b.r { color: #c5221f; }
  .mcap { margin: 14px 0 6px; font-size: 12.5px; color: #6b6f76; }
  .mbar { display: grid; grid-template-columns: 96px 1fr 18px; gap: 10px; align-items: center; padding: 5px 0; font-size: 13px; }
  .mbar i { height: 10px; border-radius: 5px; background: #f1f0f4; position: relative; overflow: hidden; }
  .mbar i::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 5px; background: linear-gradient(90deg, #6548e8, #a35cf0 50%, #e8559a); transition: width .8s var(--ease); }
  .mbar.on i::before { width: var(--w); }
  .mbar b { text-align: right; font-weight: 600; opacity: 0; transition: opacity .3s .5s; } .mbar.on b { opacity: 1; }
  /* see the real screen */
  .cu-mfull { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; padding: 0; border: 0; background: none; color: var(--accent); font: 600 15px/1.2 var(--font-ui); cursor: pointer; }
  .cu-mfull::after { content: "\203A"; font-size: 20px; line-height: 1; }
  .cu-full .cu-mfull::after { content: "\2039"; }
  /* Stripe's sticky "where am I" bar */
  .cu-mbar { display: flex; position: fixed; z-index: 19; left: 0; right: 0; top: 64px; height: 42px; align-items: center; gap: 8px; padding: 0 16px; background: color-mix(in srgb, var(--canvas) 92%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--cu-line); transform: translateY(-110%); opacity: 0; transition: transform .3s var(--ease), opacity .3s; pointer-events: none; }
  .cu-mbar.show { transform: none; opacity: 1; }
  .cu-mbar .t { font: 500 12px/1 var(--font-mono); padding: 5px 8px; border-radius: 999px; background: var(--sp, var(--ink)); color: #fff; }
  .cu-mbar .w { font-size: 14.5px; font-weight: 600; color: var(--accent); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .cu-mbar i { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--sp, var(--accent)); }
  html.cu-menu-open .cu-mbar { display: none; }
}
@media (max-width: 640px) and (prefers-reduced-motion: reduce) { .cu-mcard [data-at] { transition: none; } }
@media (max-width: 640px) {
  .mrows li { max-height: 80px; overflow: hidden; transition: opacity .45s var(--ease), transform .45s var(--ease), max-height .5s var(--ease), padding .5s var(--ease); }
  .cu-m.picked .mrows li:nth-child(n+2) { max-height: 0; padding-block: 0; border-bottom-width: 0; opacity: 0; }
  .mai .mt { min-height: 4.5em; }
  .mreason p { min-height: 2.9em; }
  .mkpis > div:nth-child(3) b { font-size: 17px; margin-top: 7px; }
}
/* ===== The day as a measuring tape (Stu 13 Oct) =====
   The page guides are the tape: minute ticks run down both verticals, a longer tick every five.
   Each section's dividing line is the moment on the tape: its time sits on the line, centred,
   and the ruler number sits where the line meets the guide. */
.cu-tr { display: none; }
:root { --tick: #d9d9e1; --tick-major: #b9b9c6; }
main > section:not(.hero) > .wrap.event { position: relative; }
@media (min-width: 1241px) {
  /* one ruler, on the left guide only (Stu 13 Oct): the ticks point out from the guide, a mark every 12px,
     a long one every 60px (five minutes). It runs only through sections that carry a time. */
  main > section:not(.hero) > .wrap.event[data-t] > .cu-tr {
    display: block; position: absolute; z-index: 1; top: 0; bottom: 0; left: -15px; width: 14px; font-size: 0; color: transparent; pointer-events: none;
    background-image: repeating-linear-gradient(to bottom, var(--tick-major) 0 1px, transparent 1px 60px), repeating-linear-gradient(to bottom, var(--tick) 0 1px, transparent 1px 12px);
    background-size: 14px 100%, 7px 100%; background-position: right 0 top 0, right 0 top 0; background-repeat: no-repeat;
  }
  main > section > .wrap.event::after { display: none; }
}
/* the time sits where the dividing line meets the left guide */
main > section:not(.hero) > .wrap.event > .stamp { padding-top: calc(var(--pad) + 6px); }
main > section:not(.hero) > .wrap.event > .stamp time {
  position: absolute; z-index: 2; top: 0; left: 0; transform: translate(-50%, -50%);
  height: 30px; padding: 0 13px; font-size: 13px; box-shadow: 0 0 0 6px var(--canvas);
}
@media (max-width: 1240px) {
  main > section:not(.hero) > .wrap.event > .stamp time { left: 16px; transform: translateY(-50%); }
}

/* the floating clock: pinned under the nav, it ticks to each section's time as you scroll */
@media (min-width: 641px) {
  .cu-mbar {
    display: flex; position: fixed; z-index: 19; top: 84px; left: max(16px, calc(50% - 636px)); align-items: center; gap: 10px;
    height: 40px; padding: 0 16px 0 6px; border-radius: 999px; overflow: hidden;
    background: color-mix(in srgb, var(--canvas) 90%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border: 1px solid var(--cu-line); box-shadow: 0 10px 30px -12px rgba(20, 12, 60, .25);
    transform: translateY(-24px); opacity: 0; transition: transform .35s var(--ease), opacity .35s; pointer-events: none;
  }
  .cu-mbar.show { transform: none; opacity: 1; }
  .cu-mbar .t { font: 500 12.5px/1 var(--font-mono); padding: 7px 10px; border-radius: 999px; background: var(--sp, var(--ink)); color: #fff; }
  .cu-mbar .w { font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; }
  .cu-mbar i { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--sp, var(--accent)); }
}
@keyframes cu-tick { from { transform: translateY(70%); opacity: 0; } to { transform: none; opacity: 1; } }
.cu-mbar .t.tick { animation: cu-tick .32s var(--ease); }
@media (prefers-reduced-motion: reduce) { .cu-mbar .t.tick { animation: none; } }
/* the hero opens on the headline: no stamp above it (Stu 13 Oct) */
main > section.hero > .wrap.event > .stamp > * { display: none; }
.hero .stamp { padding-bottom: 0; }
@media (min-width: 641px) {
html[data-jr="customer"] main > section:not(.hero) .cu-m, #queues .cu-m { display: block; margin-top: 32px; }
html[data-jr="customer"] main > section:not(.hero) .cu-mstage, #queues .cu-mstage { position: relative; isolation: isolate; padding: 28px 10px 64px; margin-inline: -6px; }
html[data-jr="customer"] main > section:not(.hero) .cu-mstage::before, #queues .cu-mstage::before { content: ""; position: absolute; z-index: -1; left: -16px; right: -16px; top: 34%; height: 66%; background: linear-gradient(100deg, #6548e8, #a35cf0 35%, #e8559a 65%, #f6844b); transform: skewY(-9deg); }
html[data-jr="customer"] main > section:not(.hero) .cu-mstage.g2::before, #queues .cu-mstage.g2::before { background: linear-gradient(100deg, #3e8bf0, #6548e8 45%, #a35cf0); transform: skewY(8deg); }
html[data-jr="customer"] main > section:not(.hero) .cu-mstage.g3::before, #queues .cu-mstage.g3::before { background: linear-gradient(100deg, #f6844b, #e8559a 45%, #a35cf0); }
html[data-jr="customer"] main > section:not(.hero) .cu-mcard, #queues .cu-mcard { position: relative; background: #fff; color: #202124; border-radius: 18px; padding: 18px 16px; box-shadow: 0 1px 1px rgba(20,18,40,.05), 0 24px 48px -20px rgba(40,20,90,.45), 0 0 0 1px rgba(20,18,40,.05); font: 400 15px/1.45 var(--font-ui); text-align: left; overflow: hidden; }
html[data-jr="customer"] main > section:not(.hero) .cu-mcard [data-at], #queues .cu-mcard [data-at] { transition: opacity .45s var(--ease), transform .45s var(--ease); }
html[data-jr="customer"] main > section:not(.hero) .mh, #queues .mh { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
html[data-jr="customer"] main > section:not(.hero) .mh b, #queues .mh b { font: 700 18px/1.2 var(--display); letter-spacing: -.02em; }
html[data-jr="customer"] main > section:not(.hero) .msub, #queues .msub { font-size: 13px; color: #6b6f76; text-align: right; }
html[data-jr="customer"] main > section:not(.hero) .msample, #queues .msample { font: 500 10.5px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: #80868b; border: 1px solid #e6e4ee; border-radius: 5px; padding: 4px 6px; }
html[data-jr="customer"] main > section:not(.hero) .mchip, #queues .mchip { display: inline-flex; align-items: center; font-size: 13px; font-weight: 500; padding: 4px 9px; border-radius: 7px; background: #f1f0f4; color: #4a4d55; white-space: nowrap; }
html[data-jr="customer"] main > section:not(.hero) .mchip.amber, #queues .mchip.amber { background: #fff3df; color: #a8650d; }
html[data-jr="customer"] main > section:not(.hero) .mrows, #queues .mrows { list-style: none; margin: 0; padding: 0; border-top: 1px solid #eeedf2; }
html[data-jr="customer"] main > section:not(.hero) .mrows li, #queues .mrows li { display: grid; grid-template-columns: 10px 1fr auto; gap: 10px; align-items: center; padding: 11px 2px; border-bottom: 1px solid #eeedf2; opacity: 0; transform: translateY(8px); font-size: 14.5px; }
html[data-jr="customer"] main > section:not(.hero) .mrows li.on, #queues .mrows li.on { opacity: 1; transform: none; }
html[data-jr="customer"] main > section:not(.hero) .mrows em, #queues .mrows em { font: 400 12px var(--font-mono); font-style: normal; color: #80868b; white-space: nowrap; }
html[data-jr="customer"] main > section:not(.hero) .mrows em.r, #queues .mrows em.r { color: #c5221f; }
html[data-jr="customer"] main > section:not(.hero) .dot, #queues .dot { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid #c4c2cc; }
html[data-jr="customer"] main > section:not(.hero) .dot.r, #queues .dot.r { border-color: #c5221f; background: #fde8e7; }
html[data-jr="customer"] main > section:not(.hero) .picked .mrows li:first-child, #queues .picked .mrows li:first-child { background: #f5f2ff; border-radius: 8px; }
html[data-jr="customer"] main > section:not(.hero) .cu-m.picked .mrows li:nth-child(n+2), #queues .cu-m.picked .mrows li:nth-child(n+2) { opacity: .35; }
html[data-jr="customer"] main > section:not(.hero) .mpick, #queues .mpick { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 14px; opacity: 0; transform: translateY(6px); }
html[data-jr="customer"] main > section:not(.hero) .mpick.on, #queues .mpick.on { opacity: 1; transform: none; }
html[data-jr="customer"] main > section:not(.hero) .mav, #queues .mav { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #2d2a3a; color: #fff; font: 600 10.5px/1 var(--font-ui); flex: none; }
html[data-jr="customer"] main > section:not(.hero) .mav.sq, #queues .mav.sq { border-radius: 8px; background: #efedf6; color: #4a4560; }
html[data-jr="customer"] main > section:not(.hero) .mpill, #queues .mpill { font-size: 12px; padding: 3px 8px; border-radius: 6px; background: #fdecec; color: #c43d3d; font-weight: 500; }
html[data-jr="customer"] main > section:not(.hero) .mai, #queues .mai { display: flex; gap: 11px; align-items: flex-start; margin-top: 12px; padding: 13px 14px; border-radius: 13px; border: 1px solid transparent; color: #fff; font-size: 14.5px; line-height: 1.5;
    background: linear-gradient(100deg, #1b1630, #141219 60%) padding-box, linear-gradient(120deg, #6548e8, #a35cf0 40%, #e8559a 75%, #f6844b) border-box; box-shadow: 0 12px 28px -14px rgba(100,80,250,.6); opacity: 0; transform: translateY(8px); }
html[data-jr="customer"] main > section:not(.hero) .mai.on, #queues .mai.on { opacity: 1; transform: none; }
html[data-jr="customer"] main > section:not(.hero) .mai .mmk, #queues .mai .mmk { width: 22px; height: 22px; flex: none; margin-top: 1px; }
html[data-jr="customer"] main > section:not(.hero) .cu-m.thinking:not(.said) .mai .mmk, #queues .cu-m.thinking:not(.said) .mai .mmk { animation: mk-pulse 1s ease-in-out infinite; }
html[data-jr="customer"] main > section:not(.hero) .mai .mt, #queues .mai .mt { margin: 0; color: #d6d4de; }
html[data-jr="customer"] main > section:not(.hero) .mai .mt span[data-type], #queues .mai .mt span[data-type] { opacity: 1; }
html[data-jr="customer"] main > section:not(.hero) .mai .typing::after, #queues .mai .typing::after, html[data-jr="customer"] main > section:not(.hero) .mreason .typing::after, #queues .mreason .typing::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 1px; vertical-align: -2px; background: currentColor; animation: blink .8s steps(1) infinite; }
html[data-jr="customer"] main > section:not(.hero) .mact, #queues .mact { color: #c4b5ff; font-weight: 600; opacity: 0; text-decoration: underline; text-decoration-color: rgba(196,181,255,.45); text-underline-offset: 3px; }
html[data-jr="customer"] main > section:not(.hero) .mact.on, #queues .mact.on, html[data-jr="customer"] main > section:not(.hero) .mdot.on, #queues .mdot.on { opacity: 1; }
html[data-jr="customer"] main > section:not(.hero) .mdot, #queues .mdot { opacity: 0; }
html[data-jr="customer"] main > section:not(.hero) .cu-m.chosen .mact, #queues .cu-m.chosen .mact { background: rgba(196,181,255,.18); border-radius: 4px; box-shadow: 0 0 0 2px rgba(196,181,255,.18); }
html[data-jr="customer"] main > section:not(.hero) .mai small, #queues .mai small { display: block; margin-top: 6px; font: 400 11.5px var(--font-mono); color: #a5a3ae; opacity: 0; }
html[data-jr="customer"] main > section:not(.hero) .mai small.on, #queues .mai small.on { opacity: 1; }
html[data-jr="customer"] main > section:not(.hero) .mreason, #queues .mreason { margin-top: 10px; padding: 10px 12px; border: 1px solid #d9d4fb; border-radius: 10px; background: #fff; opacity: 0; transform: translateY(6px); }
html[data-jr="customer"] main > section:not(.hero) .mreason.on, #queues .mreason.on { opacity: 1; transform: none; }
html[data-jr="customer"] main > section:not(.hero) .mreason small, #queues .mreason small { display: block; font-size: 11.5px; color: #80868b; }
html[data-jr="customer"] main > section:not(.hero) .mreason p, #queues .mreason p { margin: 2px 0 0; min-height: 1.45em; font-size: 14px; }
html[data-jr="customer"] main > section:not(.hero) .mdo, #queues .mdo { display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px; opacity: 0; transform: translateY(6px); }
html[data-jr="customer"] main > section:not(.hero) .mdo.on, #queues .mdo.on { opacity: 1; transform: none; }
html[data-jr="customer"] main > section:not(.hero) .mbtn, #queues .mbtn { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 9px; font-size: 14px; font-weight: 600; }
html[data-jr="customer"] main > section:not(.hero) .mbtn.pri, #queues .mbtn.pri { background: #202124; color: #fff; }
html[data-jr="customer"] main > section:not(.hero) .mbtn.ghost, #queues .mbtn.ghost { background: #f1f0f4; color: #202124; }
html[data-jr="customer"] main > section:not(.hero) .mnote, #queues .mnote { margin: 12px 0 0; font-size: 13.5px; color: #5f636b; opacity: 0; transform: translateY(6px); }
html[data-jr="customer"] main > section:not(.hero) .mnote.on, #queues .mnote.on { opacity: 1; transform: none; }
html[data-jr="customer"] main > section:not(.hero) .mnote.ok, #queues .mnote.ok { color: #137333; font-weight: 500; }
html[data-jr="customer"] main > section:not(.hero) .mtree, #queues .mtree { display: grid; gap: 0; }
html[data-jr="customer"] main > section:not(.hero) .mnode, #queues .mnode { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #eceaf2; border-radius: 12px; background: #fff; opacity: 0; transform: translateY(8px); }
html[data-jr="customer"] main > section:not(.hero) .mnode.on, #queues .mnode.on { opacity: 1; transform: none; }
html[data-jr="customer"] main > section:not(.hero) .mnode b, #queues .mnode b { display: block; font-size: 14.5px; font-weight: 600; }
html[data-jr="customer"] main > section:not(.hero) .mnode small, #queues .mnode small { display: block; font-size: 12.5px; color: #6b6f76; }
html[data-jr="customer"] main > section:not(.hero) .mnode.ubo, #queues .mnode.ubo { border-color: #d9d4fb; background: #faf8ff; }
html[data-jr="customer"] main > section:not(.hero) .mtag, #queues .mtag { display: inline-block; margin-top: 2px; font-size: 12px; font-weight: 500; padding: 2px 7px; border-radius: 6px; background: #efebff; color: #6548e8; opacity: 0; transform: scale(.9); }
html[data-jr="customer"] main > section:not(.hero) .mtag.on, #queues .mtag.on { opacity: 1; transform: none; }
html[data-jr="customer"] main > section:not(.hero) .mlink, #queues .mlink { position: relative; height: 34px; margin-left: 25px; opacity: 0; }
html[data-jr="customer"] main > section:not(.hero) .mlink.on, #queues .mlink.on { opacity: 1; }
html[data-jr="customer"] main > section:not(.hero) .mlink::before, #queues .mlink::before { content: ""; position: absolute; left: 0; top: 0; width: 2px; height: 0; background: linear-gradient(#a35cf0, #6548e8); transition: height .45s var(--ease); }
html[data-jr="customer"] main > section:not(.hero) .mlink.on::before, #queues .mlink.on::before { height: 100%; }
html[data-jr="customer"] main > section:not(.hero) .mlink span, #queues .mlink span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font: 500 11.5px var(--font-mono); color: #6b6f76; }
html[data-jr="customer"] main > section:not(.hero) .mchecks, #queues .mchecks { list-style: none; margin: 0; padding: 0; border-top: 1px solid #eeedf2; }
html[data-jr="customer"] main > section:not(.hero) .mchecks li, #queues .mchecks li { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 9px 2px; border-bottom: 1px solid #eeedf2; font-size: 14px; }
html[data-jr="customer"] main > section:not(.hero) .mchecks li small, #queues .mchecks li small { grid-row: 2; font-size: 12px; color: #80868b; }
html[data-jr="customer"] main > section:not(.hero) .mchecks .tick, #queues .mchecks .tick { grid-row: 1 / 3; grid-column: 2; width: 22px; height: 22px; border-radius: 50%; border: 1.5px dashed #e2a04a; position: relative; transition: background .3s, border-color .3s; }
html[data-jr="customer"] main > section:not(.hero) .mchecks li.on .tick, #queues .mchecks li.on .tick { background: #137333; border: 1.5px solid #137333; }
html[data-jr="customer"] main > section:not(.hero) .mchecks li.on .tick::after, #queues .mchecks li.on .tick::after { content: ""; position: absolute; left: 7px; top: 3px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
html[data-jr="customer"] main > section:not(.hero) .mchecks li.on span, #queues .mchecks li.on span { color: #5f636b; }
html[data-jr="customer"] main > section:not(.hero) .mapprove, #queues .mapprove { display: flex; justify-content: flex-end; margin-top: 14px; }
html[data-jr="customer"] main > section:not(.hero) .mbtn.lock, #queues .mbtn.lock { background: #ecebf0; color: #8b8995; transition: background .35s, color .35s, box-shadow .35s; }
html[data-jr="customer"] main > section:not(.hero) .mbtn.lock svg, #queues .mbtn.lock svg { width: 15px; height: 15px; }
html[data-jr="customer"] main > section:not(.hero) .cu-m.done .mbtn.lock, #queues .cu-m.done .mbtn.lock { background: #202124; color: #fff; box-shadow: 0 0 0 4px rgba(19,115,51,.15); }
html[data-jr="customer"] main > section:not(.hero) .cu-m.done .mbtn.lock svg, #queues .cu-m.done .mbtn.lock svg { display: none; }
html[data-jr="customer"] main > section:not(.hero) .cu-m.done .mchip.amber, #queues .cu-m.done .mchip.amber { background: #e6f4ea; color: #137333; }
html[data-jr="customer"] main > section:not(.hero) .mstamp, #queues .mstamp { margin: 12px 0 0; font: 400 12px var(--font-mono); color: #137333; opacity: 0; transform: translateY(6px); }
html[data-jr="customer"] main > section:not(.hero) .mstamp.on, #queues .mstamp.on { opacity: 1; transform: none; }
html[data-jr="customer"] main > section:not(.hero) .mkpis, #queues .mkpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
html[data-jr="customer"] main > section:not(.hero) .mkpis > div, #queues .mkpis > div { padding: 10px; border: 1px solid #eeedf2; border-radius: 12px; opacity: 0; transform: translateY(6px); }
html[data-jr="customer"] main > section:not(.hero) .mkpis > div.on, #queues .mkpis > div.on { opacity: 1; transform: none; }
html[data-jr="customer"] main > section:not(.hero) .mkpis small, #queues .mkpis small { display: block; font-size: 11.5px; color: #6b6f76; line-height: 1.25; min-height: 2.5em; }
html[data-jr="customer"] main > section:not(.hero) .mkpis b, #queues .mkpis b { display: block; margin-top: 4px; font: 700 22px/1 var(--display); letter-spacing: -.02em; }
html[data-jr="customer"] main > section:not(.hero) .mkpis b.r, #queues .mkpis b.r { color: #c5221f; }
html[data-jr="customer"] main > section:not(.hero) .mcap, #queues .mcap { margin: 14px 0 6px; font-size: 12.5px; color: #6b6f76; }
html[data-jr="customer"] main > section:not(.hero) .mbar, #queues .mbar { display: grid; grid-template-columns: 96px 1fr 18px; gap: 10px; align-items: center; padding: 5px 0; font-size: 13px; }
html[data-jr="customer"] main > section:not(.hero) .mbar i, #queues .mbar i { height: 10px; border-radius: 5px; background: #f1f0f4; position: relative; overflow: hidden; }
html[data-jr="customer"] main > section:not(.hero) .mbar i::before, #queues .mbar i::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 5px; background: linear-gradient(90deg, #6548e8, #a35cf0 50%, #e8559a); transition: width .8s var(--ease); }
html[data-jr="customer"] main > section:not(.hero) .mbar.on i::before, #queues .mbar.on i::before { width: var(--w); }
html[data-jr="customer"] main > section:not(.hero) .mbar b, #queues .mbar b { text-align: right; font-weight: 600; opacity: 0; transition: opacity .3s .5s; }
html[data-jr="customer"] main > section:not(.hero) .mbar.on b, #queues .mbar.on b { opacity: 1; }
html[data-jr="customer"] main > section:not(.hero) .cu-mfull, #queues .cu-mfull { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; padding: 0; border: 0; background: none; color: var(--accent); font: 600 15px/1.2 var(--font-ui); cursor: pointer; }
html[data-jr="customer"] main > section:not(.hero) .cu-mfull::after, #queues .cu-mfull::after { content: "\203A"; font-size: 20px; line-height: 1; }
html[data-jr="customer"] main > section:not(.hero) .cu-full .cu-mfull::after, #queues .cu-full .cu-mfull::after { content: "\2039"; }
html[data-jr="customer"] main > section:not(.hero) .mrows li, #queues .mrows li { max-height: 80px; overflow: hidden; transition: opacity .45s var(--ease), transform .45s var(--ease), max-height .5s var(--ease), padding .5s var(--ease); }
html[data-jr="customer"] main > section:not(.hero) .cu-m.picked .mrows li:nth-child(n+2), #queues .cu-m.picked .mrows li:nth-child(n+2) { max-height: 0; padding-block: 0; border-bottom-width: 0; opacity: 0; }
html[data-jr="customer"] main > section:not(.hero) .mai .mt, #queues .mai .mt { min-height: 4.5em; }
html[data-jr="customer"] main > section:not(.hero) .mreason p, #queues .mreason p { min-height: 2.9em; }
html[data-jr="customer"] main > section:not(.hero) .mkpis > div:nth-child(3) b, #queues .mkpis > div:nth-child(3) b { font-size: 17px; margin-top: 7px; }
}
/* ===== Three journeys in place of four roles (Stu 13 Oct) ===== */
.jr-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 48px; }
.jr-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; text-align: left; font: inherit; color: inherit; cursor: pointer; background: var(--surface, var(--panel)); border: 1px solid var(--cu-line); border-radius: 22px; padding: 26px 26px 76px; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.jr-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--c, var(--accent)); }
.jr-card[data-jr="customer"] { --c: var(--s4, #f6844b); } .jr-card[data-jr="analyst"] { --c: var(--s1, #6548e8); } .jr-card[data-jr="manager"] { --c: var(--s3, #e8559a); }
.jr-card:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -26px rgba(40, 20, 90, .45); }
.jr-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.jr-k { font: 500 12px/1 var(--font-mono); color: var(--ink-2); letter-spacing: .02em; }
.jr-who { font-family: var(--display); font-size: 26px; font-weight: 700; letter-spacing: -.03em; color: var(--ink); }
.jr-p { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.jr-n { font-size: 13px; font-weight: 600; color: var(--ink); }
.jr-go { position: absolute; left: 26px; bottom: 22px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--cu-line); color: var(--ink); transition: background .25s, color .25s, transform .25s var(--ease); }
.jr-go svg { width: 18px; height: 18px; }
.jr-card:hover .jr-go { transform: translateY(3px); }
.jr-card[aria-pressed="true"] { border-color: color-mix(in srgb, var(--c) 55%, var(--cu-line)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 16%, transparent); }
.jr-card[aria-pressed="true"] .jr-go { background: var(--c); border-color: transparent; color: #fff; }
.jr-now { margin: 22px 0 0; text-align: center; font: 500 13px var(--font-mono); color: var(--ink-2); }
/* the journey's own line at the top of each moment */
.jr-note { display: flex; gap: 10px; align-items: baseline; max-width: 720px; margin: 0 auto 26px; padding: 12px 16px; border-radius: 14px; background: color-mix(in srgb, var(--jc, var(--accent)) 8%, var(--canvas)); color: var(--ink); font-size: 15px; line-height: 1.5; }
.jr-note b { flex: none; font: 600 12px/1.9 var(--font-mono); color: var(--jc, var(--accent)); }
html[data-jr="customer"] { --jc: var(--s4, #f6844b); } html[data-jr="analyst"] { --jc: var(--s1, #6548e8); } html[data-jr="manager"] { --jc: var(--s3, #e8559a); }
main > section[hidden] { display: none !important; }
main > section.jr-in > .wrap { animation: jr-in .5s var(--ease) both; }
@keyframes jr-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
/* the customer's arrival feed */
.jr-feed { background: var(--canvas); border-radius: 16px; padding: 18px 20px; box-shadow: 0 20px 40px -26px rgba(40,20,90,.45); }
.jr-fh { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding-bottom: 12px; border-bottom: 1px solid var(--cu-line); }
.jr-fh b { font-size: 15px; } .jr-fh span { font: 500 12px var(--font-mono); color: var(--ink-2); }
.jr-feed ol { list-style: none; margin: 6px 0 0; padding: 0; }
.jr-feed li { display: flex; gap: 14px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--cu-line); font-size: 14.5px; color: var(--ink); opacity: 0; transform: translateY(6px); }
.jr-feed li:last-child { border-bottom: 0; font-weight: 600; }
.jr-feed li time { flex: none; font: 500 12px var(--font-mono); color: var(--ink-2); }
#apply.jr-play .jr-feed li { animation: jr-in .45s var(--ease) both; }
#apply.jr-play .jr-feed li:nth-child(2) { animation-delay: .5s; } #apply.jr-play .jr-feed li:nth-child(3) { animation-delay: 1s; } #apply.jr-play .jr-feed li:nth-child(4) { animation-delay: 1.5s; } #apply.jr-play .jr-feed li:nth-child(5) { animation-delay: 2.2s; }
@media (prefers-reduced-motion: reduce) { .jr-feed li { opacity: 1; transform: none; } #apply.jr-play .jr-feed li, main > section.jr-in > .wrap { animation: none; } }
@media (max-width: 860px) {
  .jr-cards { grid-template-columns: 1fr; gap: 10px; margin-top: 28px; }
  .jr-card { padding: 20px 72px 20px 20px; gap: 6px; }
  .jr-who { font-size: 22px; }
  .jr-go { left: auto; right: 18px; bottom: auto; top: 50%; margin-top: -19px; }
  .jr-card:hover { transform: none; }
  .jr-note { margin-inline: 0; }
}
main > section { scroll-margin-top: 220px; }
@media (max-width: 640px) { main > section { scroll-margin-top: 120px; } }
#rail .jr-note { margin-inline: 0; }
/* the day's steps, under the picker */
.jr-steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.jr-steps a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; border: 1px solid var(--cu-line); background: var(--surface); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; animation: jr-in .4s var(--ease) both; }
.jr-steps a:nth-child(2) { animation-delay: .06s; } .jr-steps a:nth-child(3) { animation-delay: .12s; } .jr-steps a:nth-child(4) { animation-delay: .18s; }
.jr-steps a:hover { border-color: var(--jc); }
.jr-steps time { font: 500 12px/1 var(--font-mono); padding: 6px 8px; border-radius: 999px; background: var(--jc); color: #fff; }
/* journey-only moments */
html:not([data-jr="customer"]) .cu-m.jr-c { display: none !important; }
html[data-jr="customer"] .around .cols3 { display: none; }
html[data-jr="customer"] #around .cu-m.jr-c { display: block; }
/* the customer's day is outcomes, not screens: the compact moments replace the full frames on every width */
@media (min-width: 641px) {
  html[data-jr="customer"] main > section:not(.hero) .cu-m, #queues .cu-m { display: block; margin-top: 40px; }
  html[data-jr="customer"] .cu-mstage, #queues .cu-mstage { padding: 44px 0 96px; margin: 0; }
  html[data-jr="customer"] .cu-mcard, #queues .cu-mcard { max-width: 560px; margin-inline: auto; padding: 24px 24px 22px; }
  html[data-jr="customer"] .cu-mstage::before, #queues .cu-mstage::before { left: -40px; right: -40px; border-radius: 0; }
  html[data-jr="customer"] .cu-mfull, #queues .cu-mfull { display: none; }
}
@media (max-width: 640px) { html[data-jr="customer"] .cu-mfull { display: none; } }
@media (min-width: 641px) { html[data-jr="customer"] main > section:not(.hero):has(.cu-m) .cu-stage { display: none; } }
/* ===== One AI section (Stu 13 Oct, after the ClickUp video) =====
   A black card inset from the page that opens to full width as it scrolls in,
   a spectrum horizon under the heading, then hairline grids: what the AI does on a case,
   then what it does overnight. --ob-x and --ob-r are set by ob-ai.js. */
html, body { overflow-x: clip; }
main > #observability { --ob-x: 0px; --ob-r: 0px; position: relative; isolation: isolate; overflow: hidden; color: #f4f3f7; border-top: 0;
  background: #050508; clip-path: inset(0 var(--ob-x) round var(--ob-r));
  --ink: #f4f3f7; --ink-2: #b7b5c2; --ink-3: #7d7b88; --hairline: #23222b; --cu-line: rgba(255,255,255,.08); --panel: #121118;
  --ob-hl: rgba(255,255,255,.09); }
main > #observability::before { content: ""; position: absolute; z-index: -1; inset: 0 0 auto; height: 900px; pointer-events: none;
  background: radial-gradient(50% 60% at 50% 0%, rgba(101,72,232,.22), transparent 70%); }
main > #observability::after { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; opacity: .7;
  background-image: radial-gradient(1px 1px at 12% 9%, #fff9, transparent), radial-gradient(1px 1px at 28% 4%, #fff7, transparent), radial-gradient(1px 1px at 46% 12%, #fff8, transparent), radial-gradient(1px 1px at 63% 6%, #fff6, transparent), radial-gradient(1.5px 1.5px at 78% 14%, #fff9, transparent), radial-gradient(1px 1px at 90% 5%, #fff7, transparent), radial-gradient(1px 1px at 6% 20%, #fff6, transparent), radial-gradient(1px 1px at 71% 22%, #fff5, transparent), radial-gradient(1px 1px at 36% 25%, #fff5, transparent);
  animation: ob-twinkle 6s ease-in-out infinite alternate; }
@keyframes ob-twinkle { from { opacity: .4; } to { opacity: .8; } }
main > #observability > .wrap { max-width: 1440px; border-inline-color: transparent; background-image: none; padding-inline: clamp(16px, 5vw, 88px); }
main > #observability > .wrap.event::before, main > #observability > .wrap.event > .cu-tr, main > #observability > .wrap.event::after { display: none; }
#observability .wrap .stamp time { background: #fff; color: #0a0820; box-shadow: 0 0 0 6px #050508, 0 0 28px rgba(163,92,240,.6); }
#observability .stamp .what { color: #f4f3f7; } #observability .actor { background: rgba(255,255,255,.08); color: #d9d6ff; }
#observability .ob { background: transparent; border-radius: 0; overflow: visible; }
#observability .ob::after { display: none; }
main > #observability + section { border-top: 0; }

/* the head: a glowing mark, big gradient type, a mono row */
.ob-ai-head { max-width: 980px; margin-inline: auto; padding-top: 48px; text-align: center; position: relative; z-index: 2; }
.ob-glow-mk { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 22px; position: relative;
  background: linear-gradient(180deg, #17161f, #0b0a10); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 0 0 8px rgba(255,255,255,.02), 0 20px 60px -10px rgba(139,116,255,.55); }
.ob-glow-mk::before { content: ""; position: absolute; inset: -40px; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(163,92,240,.45), transparent); animation: ob-breathe 5s ease-in-out infinite; }
.ob-glow-mk .cu-ai-logo { margin: 0; display: grid; } .ob-glow-mk svg { width: 40px; height: 40px; filter: drop-shadow(0 0 14px rgba(196,140,255,.7)); }
@keyframes ob-breathe { 50% { opacity: .55; transform: scale(.9); } }
.ob-h.ob-big { font: 600 clamp(46px, 7.6vw, 112px)/.98 var(--display); letter-spacing: -.055em; margin: 34px auto 0; padding-bottom: .08em;
  background: linear-gradient(180deg, #fff 30%, #a9a6bf 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ob-h.ob-big em { font-style: italic; padding-right: .06em; background: linear-gradient(90deg, #8b74ff, #c48cff 40%, #f08ab8 80%, #f6a26b); -webkit-background-clip: text; background-clip: text; }
.ob-ai-head .ob-lead { font-size: 19px; color: #a6a4b2; max-width: 640px; margin: 22px auto 0; }
.ob-where { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 28px; margin-top: 30px; font: 500 12px/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: #8d8a9b; }
.ob-where span { display: inline-flex; align-items: center; gap: 10px; } .ob-where span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #8b74ff; box-shadow: 0 0 10px #8b74ff; }

/* the horizon: a spectrum glow with a dark dome rising into it */
.ob-horizon { position: relative; height: 230px; margin: -10px calc(-1 * clamp(16px, 5vw, 88px)) 0; pointer-events: none; overflow: hidden; }
.ob-horizon::before { content: ""; position: absolute; left: 6%; right: 6%; top: 96px; height: 120px; border-radius: 50%; filter: blur(48px); opacity: .9;
  background: linear-gradient(90deg, transparent, #4b55ff 15%, #8b74ff 32%, #c35cf0 50%, #f0609e 66%, #f6944b 82%, transparent); background-size: 200% 100%;
  animation: ob-hue 14s ease-in-out infinite alternate; }
@keyframes ob-hue { from { background-position: 0 0; } to { background-position: 100% 0; } }
.ob-horizon i { position: absolute; left: -15%; right: -15%; top: 150px; height: 900px; border-radius: 50%; background: #050508;
  border-top: 1px solid rgba(255,255,255,.75); box-shadow: 0 -14px 40px -12px rgba(220,170,255,.7), inset 0 18px 40px -20px rgba(163,92,240,.55);
  -webkit-mask-image: linear-gradient(90deg, transparent 6%, #000 34%, #000 66%, transparent 94%); mask-image: linear-gradient(90deg, transparent 6%, #000 34%, #000 66%, transparent 94%); }

/* hairline grid one: what the AI does on a case */
.ob-ai-grid { position: relative; z-index: 2; margin-top: -40px; }
.ob-ai-grid .cu-grid { margin: 0; gap: 0; border: 0; border-top: 1px solid var(--ob-hl); border-bottom: 1px solid var(--ob-hl); background: none; }
.ob-ai-grid .cu-cell { position: relative; border: 0; border-radius: 0; background: none; box-shadow: none; min-height: 440px; padding: 34px 32px 36px; overflow: hidden; }
.ob-ai-grid .cu-cell + .cu-cell { border-left: 1px solid var(--ob-hl); }
.ob-ai-grid .cu-cell::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; opacity: 0; transition: opacity .6s;
  background: linear-gradient(90deg, transparent, #8b74ff, #f08ab8, transparent); }
.ob-ai-grid .cu-cell:hover::before, .ob-ai-grid .cu-cell.on::before { opacity: 1; }
.ob-ai-grid .cu-cell h3 { font: 500 12px/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: #8d8a9b; display: flex; gap: 12px; }
.ob-ai-grid .cu-cell h3 i { font-style: normal; color: #8b74ff; }
.ob-ai-grid .cu-cell > p { font-size: 18px; line-height: 1.5; color: #e9e7f1; font-weight: 450; margin-top: 18px; max-width: 34ch; }
/* the widgets build themselves when the grid comes into view */
.ob-ai-grid .vis > * { transition: opacity .5s ease, transform .5s cubic-bezier(.2,.8,.2,1); }
.ob-ai-grid:not(.in) .cu-kv > div, .ob-ai-grid:not(.in) .cu-lock li { opacity: 0; transform: translateY(10px); }
.ob-ai-grid:not(.in) .cu-aicard, .ob-ai-grid:not(.in) .cu-lock .ap { opacity: 0; transform: translateY(14px) scale(.98); }
.ob-ai-grid .cu-kv > div:nth-child(2) { transition-delay: .15s; } .ob-ai-grid .cu-kv > div:nth-child(3) { transition-delay: .3s; } .ob-ai-grid .cu-kv > div:nth-child(4) { transition-delay: .45s; }
.ob-ai-grid .cu-aicard { transition-delay: .5s; }
.ob-ai-grid .cu-lock .ap { transition-delay: .8s; } .ob-ai-grid .cu-lock li:nth-child(1) { transition-delay: 1s; } .ob-ai-grid .cu-lock li:nth-child(2) { transition-delay: 1.12s; } .ob-ai-grid .cu-lock li:nth-child(3) { transition-delay: 1.24s; }
.ob-ai-grid .cu-aicard em { background: linear-gradient(90deg, #c4b8ff, #f3a6c8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ob-ai-grid.in .cu-kv q.no { animation: ob-flag 3.6s ease-in-out 1.2s infinite; }
@keyframes ob-flag { 0%, 70%, 100% { background: transparent; } 80% { background: rgba(239,107,107,.14); } }

/* the night shift: heading beside a sample night, then the six tiles as hairline grid two */
.ob-night { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 120px 0 56px; }
.ob-night-head { text-align: left; padding: 0; } .ob-night-head .ob-lead { margin-left: 0; }
.ob-night-head .ob-h { font-size: clamp(34px, 4.2vw, 60px); letter-spacing: -.045em; }
.ob-dots { margin: 0; justify-self: end; }
.ob-dm { display: grid; grid-template-columns: repeat(26, 10px); gap: 6px; }
.ob-dm i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.1); transform: scale(.55); transition: background .4s, transform .4s, box-shadow .4s; }
.ob-dm i.on { background: #8b74ff; transform: scale(.7); }
.ob-dm i.hot { background: #f08ab8; transform: scale(1.25); box-shadow: 0 0 14px #f08ab8; animation: ob-pulse 1.8s ease-in-out infinite; }
@keyframes ob-pulse { 50% { box-shadow: 0 0 2px #f08ab8; transform: scale(1); } }
.ob-dots figcaption { display: flex; align-items: flex-end; gap: 32px; margin-top: 26px; }
.ob-stat b { display: block; font: 600 44px/1 var(--display); letter-spacing: -.04em; color: #fff; font-variant-numeric: tabular-nums; }
.ob-stat.hot b { color: #f3a6c8; }
.ob-stat small { display: block; margin-top: 8px; font-size: 14px; color: #a6a4b2; }
.ob-sn { margin-left: auto; font: 500 11px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: #6f6c7c; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; padding: 6px 10px; }
#observability .ob-tile { border-radius: 0; background: none; box-shadow: none; border-color: var(--ob-hl); }
@media (min-width: 861px) {
  #observability .ob-grid { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; gap: 0; padding: 0; border: 0; border-top: 1px solid var(--ob-hl); }
  #observability .ob-tile, #observability .ob-tile:nth-child(n) { flex: none; border-right: 1px solid var(--ob-hl); border-bottom: 1px solid var(--ob-hl); }
  #observability .ob-tile:nth-child(3n) { border-right: 0; }
  #observability .ob-nav { display: none; }
}
#observability .ob-hand { background: transparent; border-top: 0; }
@media (max-width: 860px) {
  .ob-ai-head { text-align: left; } .ob-ai-head .ob-lead { margin-left: 0; } .ob-where { justify-content: flex-start; }
  .ob-horizon { height: 170px; } .ob-horizon::before { top: 70px; } .ob-horizon i { top: 110px; }
  .ob-ai-grid { margin-top: -30px; }
  .ob-ai-grid .cu-grid { grid-template-columns: 1fr; }
  .ob-ai-grid .cu-cell { min-height: 0; padding: 28px 4px 30px; }
  .ob-ai-grid .cu-cell + .cu-cell { border-left: 0; border-top: 1px solid var(--ob-hl); }
  .ob-night { grid-template-columns: 1fr; padding: 72px 0 32px; gap: 32px; }
  .ob-dots { justify-self: start; width: 100%; }
  .ob-dm { grid-template-columns: repeat(26, 1fr); gap: 4px; }
  .ob-dm i { width: auto; height: auto; aspect-ratio: 1; }
  .ob-stat b { font-size: 34px; }
  .ob-dots figcaption { flex-wrap: wrap; gap: 20px 28px; } .ob-sn { margin-left: 0; }
  #observability .ob-grid { border-top: 1px solid var(--ob-hl); gap: 0; padding: 0; }
  #observability .ob-tile, #observability .ob-tile:nth-child(n) { border-right: 1px solid var(--ob-hl); }
  #observability .ob-nav { border-top: 1px solid var(--ob-hl); }
}
@media (prefers-reduced-motion: reduce) {
  main > #observability::after, .ob-glow-mk::before, .ob-horizon::before, .ob-dm i.hot, .ob-ai-grid.in .cu-kv q.no { animation: none; }
  .ob-ai-grid .vis > *, .ob-ai-grid .cu-kv > div, .ob-ai-grid .cu-lock li { transition: none; opacity: 1; transform: none; }
}
#observability .wrap.event > .stamp { display: none; }
.ob-horizon { -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); }
/* ===== Closing CTA: a colour card with the desktop and the phone in glass (Stu 13 Oct, after the ClickUp video) ===== */
#contact .body { max-width: none; }
.cta { --cta-bg: radial-gradient(60% 70% at 0% 0%, #4b55ff 0%, transparent 60%), radial-gradient(60% 70% at 100% 0%, #f6844b 0%, transparent 60%), radial-gradient(70% 60% at 50% 100%, #6548e8 0%, transparent 70%), linear-gradient(120deg, #6548e8 0%, #a35cf0 35%, #e8559a 68%, #f6844b 100%);
  position: relative; isolation: isolate; overflow: hidden; border-radius: 32px; text-align: center; color: #fff;
  padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 72px) 0; background: var(--cta-bg); box-shadow: 0 50px 100px -50px rgba(120,40,160,.55); }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .25; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.cta-mk { display: inline-grid; place-items: center; width: 92px; height: 92px; border-radius: 24px; background: linear-gradient(180deg, #fff, #f1eefc); box-shadow: 0 18px 40px -12px rgba(40,10,80,.5), inset 0 -2px 0 rgba(0,0,0,.06); }
.cta-mk svg { width: 46px; height: 46px; }
.cta-h { font: 600 clamp(38px, 5.6vw, 76px)/1 var(--display); letter-spacing: -.05em; color: #fff; max-width: 15ch; margin: 30px auto 0; text-wrap: balance; }
.cta-lead { font-size: 19px; line-height: 1.5; color: rgba(255,255,255,.88); max-width: 600px; margin: 18px auto 0; }
.cta-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cta-b { display: inline-flex; align-items: center; height: 54px; padding: 0 26px; border-radius: 14px; background: #fff; color: #2b1d7a; font: 600 17px/1 var(--display, inherit); text-decoration: none; box-shadow: 0 10px 30px -10px rgba(30,10,70,.5); transition: transform .15s, box-shadow .15s; }
.cta-b:hover { transform: translateY(-1px); box-shadow: 0 16px 36px -12px rgba(30,10,70,.6); }
.cta-b.ghost { background: rgba(255,255,255,.14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.cta-q { margin-top: 16px; font: 500 13px/1 var(--font-mono); letter-spacing: .02em; color: rgba(255,255,255,.8); }

/* the two screens, in glass, rising out of the bottom of the card */
.cta-shots { position: relative; margin: 52px auto 0; max-width: 1060px; height: 430px; text-align: left; }
.cta-desk, .cta-phone { position: absolute; transition: transform 1.1s cubic-bezier(.2,.8,.2,1), opacity .8s; }
.cta-desk { left: 0; right: 120px; top: 0; padding: 10px 10px 0; border-radius: 20px 20px 0 0;
  background: rgba(255,255,255,.2); box-shadow: inset 0 0 0 1px rgba(255,255,255,.45); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); }
.cta-phone { right: 0; top: 70px; width: 270px; padding: 9px; border-radius: 46px;
  background: rgba(255,255,255,.22); box-shadow: inset 0 0 0 1px rgba(255,255,255,.55), 0 30px 60px -20px rgba(30,10,70,.55); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); }
.cta:not(.in) .cta-desk { transform: translateY(90px); opacity: 0; }
.cta:not(.in) .cta-phone { transform: translateY(160px); opacity: 0; }
.cta .cta-phone { transition-delay: .2s; }

.cta-win { position: relative; height: 440px; overflow: hidden; border-radius: 12px 12px 0 0; background: #fff; color: #202124; font-size: 13px; box-shadow: 0 0 0 1px rgba(20,18,40,.06); }
.cta-top { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border-bottom: 1px solid #ecebe7; background: #fbfbfa; }
.cta-top > i { width: 10px; height: 10px; border-radius: 50%; background: #e2e0da; }
.cta-org { margin-left: 10px; font-weight: 600; }
.cta-search { margin: 0 auto; width: 34%; height: 26px; border-radius: 8px; background: #f2f1ed; color: #9ca0a7; display: flex; align-items: center; padding: 0 12px; font-size: 12px; }
.cta-body { display: grid; grid-template-columns: 190px 1fr; height: 100%; }
.cta-side { background: #f7f7f5; border-right: 1px solid #ecebe7; padding: 14px 10px; }
.cta-side p { font-size: 11px; color: #9ca0a7; margin: 6px 8px 6px; } .cta-side p + span { margin-top: 0; }
.cta-side span { display: flex; justify-content: space-between; padding: 7px 8px; border-radius: 7px; color: #3f4249; }
.cta-side span.on { background: #ece8ff; color: #4a32c8; font-weight: 600; }
.cta-side b { font-weight: 500; color: #80868b; }
.cta-main { padding: 18px 22px; min-width: 0; }
.cta-main h4 { font: 600 20px/1 var(--display, inherit); letter-spacing: -.02em; margin: 0; }
.cta-chips { display: flex; gap: 6px; margin: 14px 0 10px; }
.cta-chips span { padding: 5px 9px; border-radius: 6px; background: #f2f1ed; font-size: 12px; color: #5b6169; }
.cta-chips span.on { background: #ece8ff; color: #4a32c8; }
.cta-grp { display: flex; gap: 8px; align-items: center; padding: 12px 0 6px; font-size: 12.5px; } .cta-grp span { color: #9ca0a7; }
.cta-row { display: grid; grid-template-columns: 16px 1.5fr 1fr 82px 104px; align-items: center; gap: 10px; padding: 9px 6px; border-top: 1px solid #f0efeb; border-radius: 6px; transition: background .3s; white-space: nowrap; }
.cta-row > i { width: 13px; height: 13px; border-radius: 50%; border: 1.5px dashed #b9b6c4; }
.cta-row .t { overflow: hidden; text-overflow: ellipsis; color: #202124; } .cta-row .c { color: #5b6169; overflow: hidden; text-overflow: ellipsis; }
.cta-row .d { color: #80868b; font-size: 12px; } .cta-row .d.late { color: #c5221f; }
.cta-row .s { justify-self: start; font-size: 11.5px; font-weight: 600; padding: 3px 8px; border-radius: 6px; background: #f5f2ff; color: #5b3fe0; opacity: 0; transform: scale(.85); transition: opacity .35s, transform .35s; }
.cta-row .s.lock { background: #fff4e5; color: #b0610b; opacity: 1; transform: none; }
.cta-row.hov { background: #f6f4ff; } .cta-row.done .s { opacity: 1; transform: none; }

/* the Zenoo cursor: it reads each item and leaves a suggestion; it never decides */
.cta-cur { position: absolute; left: 0; top: 0; z-index: 3; display: flex; align-items: flex-start; gap: 2px; pointer-events: none; transform: translate(640px, 380px); transition: transform 1.1s cubic-bezier(.45,.05,.2,1); }
.cta-cur svg { width: 18px; height: 18px; fill: #6548e8; stroke: #fff; stroke-width: 1.2; filter: drop-shadow(0 2px 3px rgba(40,20,90,.35)); }
.cta-cur em { margin-top: 14px; font-style: normal; font-size: 12px; font-weight: 600; color: #fff; white-space: nowrap; padding: 5px 10px; border-radius: 8px; background: linear-gradient(90deg, #6548e8, #a35cf0 60%, #e8559a); box-shadow: 0 6px 16px -6px rgba(100,80,250,.7); }

.cta-scr { height: 520px; border-radius: 38px; overflow: hidden; background: #fff; color: #202124; padding: 14px 16px; font-size: 12.5px; }
.cta-st { display: flex; justify-content: space-between; align-items: center; padding: 0 8px 14px; } .cta-st b { font-size: 13px; } .cta-st span { width: 54px; height: 10px; border-radius: 4px; background: linear-gradient(90deg, #202124 60%, #d9d7d2 60%); }
.cta-ph { font: 600 20px/1 var(--display, inherit); letter-spacing: -.02em; margin: 4px 0 12px; }
.cta-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.cta-tiles span { padding: 9px 8px; border-radius: 12px; background: #f2f1ed; font-size: 11px; font-weight: 600; color: #3f4249; }
.cta-tiles span b { display: block; font-weight: 400; color: #80868b; margin-top: 3px; }
.cta-tiles .a { background: linear-gradient(160deg, #e8559a, #a35cf0); color: #fff; } .cta-tiles .a b { color: rgba(255,255,255,.85); }
.cta-tiles .b { background: linear-gradient(160deg, #6548e8, #4b55ff); color: #fff; } .cta-tiles .b b { color: rgba(255,255,255,.85); }
.cta-sug { display: flex; gap: 10px; margin-top: 14px; padding: 12px; border-radius: 14px; background: #f7f5ff; box-shadow: inset 0 0 0 1px #e6e0ff; line-height: 1.4; }
.cta-sug svg { flex: none; width: 20px; height: 20px; margin-top: 2px; }
.cta-sug em { font-style: normal; font-weight: 600; color: #4a32c8; } .cta-sug small { display: block; margin-top: 5px; font-size: 11px; color: #80868b; }
.cta-pl { margin: 16px 0 6px; font-size: 11.5px; color: #9ca0a7; }
.cta-pr { display: block; padding: 9px 0; border-top: 1px solid #f0efeb; color: #3f4249; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@media (max-width: 860px) {
  .cta { border-radius: 24px; text-align: left; }
  .cta-mk { width: 64px; height: 64px; border-radius: 18px; } .cta-mk svg { width: 32px; height: 32px; }
  .cta-h { margin-left: 0; font-size: 40px; } .cta-lead { margin-left: 0; font-size: 17px; }
  .cta-btns { display: grid; } .cta-b { justify-content: center; }
  .cta-shots { height: 360px; margin-top: 36px; }
  .cta-desk { right: 0; left: 0; } .cta-body { grid-template-columns: 1fr; } .cta-side { display: none; }
  .cta-row { grid-template-columns: 16px 1fr 82px; } .cta-row .c, .cta-row .d { display: none; }
  .cta-chips span:nth-child(2) { display: none; }
  .cta-phone { right: -6px; top: 60px; width: 200px; border-radius: 36px; } .cta-scr { border-radius: 29px; font-size: 11px; padding: 12px; }
  .cta-tiles { grid-template-columns: 1fr 1fr; } .cta-tiles span:nth-child(3) { display: none; }
  .cta-cur { display: none; }
}
@media (prefers-reduced-motion: reduce) { .cta-desk, .cta-phone, .cta-cur, .cta-row .s { transition: none; } .cta:not(.in) .cta-desk, .cta:not(.in) .cta-phone { transform: none; opacity: 1; } }
/* the closing section itself goes back to the page colour, so the colour card carries it */
main > section#contact { background: none; color: inherit; --ink: inherit; --ink-2: inherit; --ink-3: inherit; --hairline: inherit; --panel: inherit; border-top-color: inherit; }
main > section#contact::before { display: none; }
#contact .wrap .stamp time { background: #050507; color: #fff; }
#contact .actor { background: rgba(101,72,232,.1); color: #4a32c8; }
#contact .wrap.event::after { background: inherit; }
@media (max-width: 860px) { .cta-btns { justify-content: stretch; } .cta-search { display: none; } .cta-org { white-space: nowrap; } }
/* ===== The Zenoo cursor in the hero (Stu 13 Oct): it reads, points at the suggestion, and moves on. It never decides. ===== */
.zc { position: absolute; left: 0; top: 0; z-index: 30; display: flex; align-items: flex-start; gap: 2px; pointer-events: none; opacity: 0;
  transform: translate(var(--zx, 60%), var(--zy, 80%)); transition: transform 1.1s cubic-bezier(.45,.05,.2,1), opacity .4s; }
.zc.on { opacity: 1; }
.zc svg { width: 18px; height: 18px; fill: #6548e8; stroke: #fff; stroke-width: 1.2; filter: drop-shadow(0 2px 3px rgba(40,20,90,.35)); transition: transform .15s; }
.zc.press svg { transform: scale(.82); }
.zc em { margin-top: 14px; font: 600 12px/1 var(--font-sans, inherit); font-style: normal; color: #fff; white-space: nowrap; padding: 6px 10px; border-radius: 8px;
  background: linear-gradient(90deg, #6548e8, #a35cf0 60%, #e8559a); box-shadow: 0 6px 16px -6px rgba(100,80,250,.7); }
.zc-hi { outline: 2px solid rgba(101,72,232,.45); outline-offset: 3px; border-radius: 6px; transition: outline-color .3s; }
@media (max-width: 860px), (prefers-reduced-motion: reduce) { .zc { display: none; } }
/* ===== Round two from Stu's Stripe video (13 Oct) ===== */
/* only the left guide carries the day */
main > section > .wrap { border-right-color: transparent; }
main > section:not(.hero) > .wrap.event[data-t]::before { content: none; }
/* the journey cards stand alone: no step chips under them */
.jr-steps { display: none; }
/* the panels behind the product screens are square, the way Stripe sets its cards */
.cu-stage { border-radius: 0; }
/* the halo behind each screen: a quiet ring of colour rather than a bright blob */
.cu-stage::before { width: 62%; height: auto; aspect-ratio: 1; right: -24%; bottom: -46%; opacity: .32; filter: blur(14px);
  -webkit-mask-image: radial-gradient(closest-side, transparent 58%, #000 63%, #000 74%, transparent 80%); mask-image: radial-gradient(closest-side, transparent 58%, #000 63%, #000 74%, transparent 80%);
  animation: r2-spin 40s linear infinite; }
.cu-stage.g2::before { right: auto; left: -24%; }
.cu-stage.g3::before { right: 6%; bottom: -58%; }
@keyframes r2-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .cu-stage::before { animation: none; } }
/* the AI horizon, quieter: a soft halo with fine rays rising from it, after Stripe's "backbone" band */
.ob-horizon::before { opacity: .45; filter: blur(60px); top: 110px; }
.ob-horizon i { border-top-color: rgba(255,255,255,.35); box-shadow: 0 -10px 40px -16px rgba(200,170,255,.45), inset 0 18px 40px -24px rgba(163,92,240,.4); }
.ob-horizon::after { content: ""; position: absolute; left: 50%; top: 150px; width: 1400px; height: 1400px; transform: translateX(-50%); border-radius: 50%; opacity: .35;
  background: repeating-conic-gradient(from 0deg, rgba(190,170,255,.55) 0 .25deg, transparent .25deg 3deg);
  -webkit-mask-image: radial-gradient(closest-side, transparent 64%, #000 66%, transparent 92%); mask-image: radial-gradient(closest-side, transparent 64%, #000 66%, transparent 92%); }
/* Demo CTA after the AI band: the second ask on the page, for the visitor who has just seen what the AI does (PostHog, 13 Oct: 512 homepage visitors, 14 reached /get-a-demo) */
.ob-cta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 32px; margin-top: 56px; padding: 32px 0 8px; border-top: 1px solid var(--ob-hl, rgba(255,255,255,.12)); }
.ob-cta-h { margin: 0; font: 600 clamp(24px, 2.6vw, 34px)/1.1 var(--display); letter-spacing: -.035em; color: #fff; }
.ob-cta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; }
.ob-cta-q { font-size: 14px; color: #a6a4b2; }
@media (max-width: 640px) {
  .ob-cta { margin-top: 40px; padding-top: 28px; }
  .ob-cta-row, .ob-cta-row .btn { width: 100%; }
  .ob-cta-row .btn { justify-content: center; }
}

/* ===== Hero ribbon, after Stripe (Stu 13 Oct): a silk band of colour that sweeps in from the top and out at the right,
   drawn on a canvas as hundreds of fine strands so it folds and drifts slowly. It ends on a hard line above the product. ===== */
.hero::after { content: none; }
.hero-rib { position: absolute; z-index: -1; top: 0; right: 0; width: min(64vw, 980px); pointer-events: none; }
.hero-rib canvas { display: block; width: 100%; height: 100%; }
@media (max-width: 860px) { .hero-rib { width: 120vw; right: -40vw; opacity: .55; } }

.cta { --cta-bg: radial-gradient(60% 70% at 0% 0%, #4b55ff 0%, transparent 60%), radial-gradient(60% 70% at 100% 10%, #a35cf0 0%, transparent 60%), linear-gradient(135deg, #3d2fd0 0%, #6548e8 45%, #8f6bff 75%, #5a7dff 100%); }

:root { color-scheme: light !important; }
body { background: var(--canvas); }
