/* hero-lab — remaining homepage sections: enterprise principles, agents,
   results, trust, implementation, pricing, community. */

/* ───────── Top banner: sticky above the nav ───────── */
:root { --tb-h: 40px; --nav-h: 64px; }
.tb { position: sticky; top: 0; z-index: 60; height: var(--tb-h); overflow: hidden; background: var(--ink); color: #fff; transition: height .25s ease; }
.tb-inner { height: 40px; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 0 48px; font-size: 13.5px; }
.tb-tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #9fcbf0; border: 1px solid rgba(159,203,240,.35); border-radius: 999px; padding: 2px 9px; white-space: nowrap; }
.tb-txt { color: rgba(255,255,255,.88); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-txt b { color: #fff; font-weight: 500; }
.tb-txt.short { display: none; }
.tb-cta { flex: none; font-size: 12.5px; font-weight: 500; color: var(--ink); background: #fff; border-radius: 6px; padding: 5px 12px; text-decoration: none; transition: background .2s; }
.tb-cta:hover { background: #e6f0fb; }
.tb-x { all: unset; cursor: pointer; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; display: grid; place-items: center; border-radius: 6px; color: rgba(255,255,255,.6); }
.tb-x:hover { color: #fff; background: rgba(255,255,255,.08); }
.tb-x .om-ic { width: 14px; height: 14px; }
body.tb-closed { --tb-h: 0px; }
.nav { top: var(--tb-h) !important; }
.ow-sticky { top: calc(var(--tb-h) + var(--nav-h)) !important; height: calc(100vh - var(--tb-h) - var(--nav-h)) !important; }
@media (max-width: 760px) {
  .tb-inner { justify-content: flex-start; padding: 0 44px 0 16px; gap: 10px; }
  .tb-tag, .tb-txt.long { display: none; }
  .tb-txt.short { display: block; font-size: 12.5px; }
}

/* German banner copy is longer: swap to the short variant earlier and let it wrap on phones */
@media (max-width: 1040px) {
  html[lang="de"] .tb-tag, html[lang="de"] .tb-txt.long { display: none; }
  html[lang="de"] .tb-txt.short { display: block; font-size: 12.5px; }
  html[lang="de"] .tb-inner { justify-content: center; }
}
@media (max-width: 760px) {
  html[lang="de"] .tb-inner { justify-content: flex-start; }
  html[lang="de"] .tb-inner { gap: 8px; padding-right: 36px; }
  html[lang="de"] .tb-txt.short { white-space: normal; font-size: 11px; line-height: 1.2; }
  html[lang="de"] .tb-cta { font-size: 11.5px; padding: 5px 9px; white-space: nowrap; }
}

/* ───────── Shared section head ───────── */
.sx-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-bottom: 56px; }
.sx-head h2 { margin: 0; }
.sx-head .sx-lede { margin: 0; max-width: 820px; }
.sx-sec { padding: 120px 0 128px; background: var(--bg); }
.sx-ic { width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; }
.sx-ic .om-ic { width: 19px; height: 19px; }
.sx-tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.sx-more { display: inline-flex; font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 2px; }
.sx-more:hover { color: var(--accent); border-color: var(--accent); }
.om-ic { width: 16px; height: 16px; flex: none; display: inline-block; vertical-align: middle; }

/* ───────── Enterprise: principles + integration wall ───────── */
.ex-more { margin-top: 72px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.ex-more > div { padding: 28px 32px 0 0; display: grid; gap: 8px; align-content: start; }
.ex-more > div + div { padding-left: 32px; border-left: 1px solid var(--line); }
.ex-more .n { font-family: var(--mono); font-size: 11px; color: var(--accent); }
.ex-more b { font-size: 17px; font-weight: 500; }
.ex-more p { margin: 0; font-size: 15px; color: var(--ink-3); line-height: 1.5; }
.ex-wall-h { margin-top: 64px; display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid var(--line); scroll-margin-top: 120px; }
.ex-wall-h b { font-size: 19px; font-weight: 500; letter-spacing: -0.01em; }
.ex-wall-h span { font-size: 15px; color: var(--ink-3); }
.ex-wall { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ex-wall .lbl { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-right: 8px; }
.ex-wall span:not(.lbl) { font-size: 14px; font-weight: 500; color: var(--ink-2); padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-soft); }

/* ───────── Agents grid ───────── */
.ag-groups { display: grid; gap: 56px; }
.ag-group-h { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.ag-group-h b { font-size: 19px; font-weight: 500; letter-spacing: -0.01em; }
.ag-group-h span { font-size: 15px; color: var(--ink-3); }
.ag-grid { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 16px; }
.ag-card .go { margin-left: auto; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-3); transition: background .2s, color .2s, border-color .2s; }
.ag-card .go .om-ic { width: 15px; height: 15px; }
.ag-card:hover .go { background: var(--accent); border-color: var(--accent); color: #fff; }
.ag-card { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 14px; padding: 24px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: inherit; text-decoration: none; transition: background-color .3s, border-color .3s; }
.ag-card > canvas { position: absolute; left: 0; bottom: 0; z-index: -1; width: 100%; height: 130px; opacity: 0; transition: opacity .4s; pointer-events: none; }
.ag-card:hover { background: var(--bg-2); border-color: #e6e1d6; }
.ag-card:hover > canvas { opacity: 1; }
.ag-card .top { display: flex; align-items: center; gap: 12px; }
.ag-card .top .sx-tag { margin-left: auto; }
.ag-card h3 { margin: 0; font-size: 20px; font-weight: 500; letter-spacing: -0.015em; display: flex; align-items: center; gap: 8px; }
.ag-card p { margin: 0; font-size: 15px; color: var(--ink-3); line-height: 1.5; }
.ag-card .kpi { margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line); display: flex; align-items: baseline; gap: 10px; transition: border-color .3s; }
.ag-card:hover .kpi { border-top-color: transparent; }
.ag-card .kpi b { font-size: 30px; font-weight: 500; letter-spacing: -0.03em; color: var(--ink); }
.ag-card .kpi span { font-size: 13px; color: var(--ink-3); }
.ag-card .beta { font-family: var(--mono); font-size: 10px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 2px 7px; border-radius: 999px; }

/* ───────── First principles: anomaly card ───────── */
.an { padding: 8px 12px 10px; display: grid; gap: 6px; }
.an > div { display: grid; grid-template-columns: auto 1fr auto; gap: 1px 10px; align-items: center; padding: 6px 9px; border-radius: 7px; border: 1px solid #ece8e1; background: #faf9f6; font-size: 12.5px; }
.an > div svg { grid-row: span 2; width: 15px; height: 15px; color: #9a6700; }
.an > div.bad svg { color: #cf222e; }
.an > div b { font-weight: 600; }
.an > div em { font-style: normal; font-size: 11px; font-weight: 600; padding: 0 7px; border-radius: 999px; background: #fbf1d3; color: #7d4e00; border: 1px solid #ecd592; }
.an > div.bad em { background: #fdeceb; color: #a40e26; border-color: #f4b9b5; }
.an > div small { grid-column: 2 / -1; font-size: 11.5px; color: #79736b; }

/* ───────── First principles: API-first card ───────── */
.api { width: 100%; max-width: 310px; border-radius: 10px; overflow: hidden; background: #fff; border: 1px solid #e3ded5; box-shadow: 0 12px 30px -16px rgba(28,24,19,.25); font-family: "OM Sans", "Source Sans 3", sans-serif; }
.api-h { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: #1c1f24; }
.api-h .dot { width: 8px; height: 8px; border-radius: 50%; background: #3a3f47; }
.api-h .t { margin-left: 6px; font-family: "OM Mono", monospace; font-size: 11px; color: #c9d1db; }
.api-b { margin: 0; padding: 10px 14px; background: #1c1f24; color: #c9d1db; font-family: "OM Mono", monospace; font-size: 11.5px; line-height: 1.55; border-top: 1px solid #2a2f36; }
.api-b .k { color: #8b949e; } .api-b .p { color: #79b8ff; } .api-b .s { color: #a5d6a7; }
.api-r { padding: 8px 12px 4px; display: grid; gap: 4px; }
.api-r div { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #1c1813; padding: 4px 0; border-bottom: 1px solid #f3f0ea; }
.api-r div:last-child { border-bottom: 0; }
.api-r .mono { font-family: "OM Mono", monospace; font-size: 10.5px; color: #0053a6; background: #eef4f8; padding: 0 5px; border-radius: 3px; }
.api-r i { margin-left: auto; font-style: normal; font-variant-numeric: tabular-nums; color: #57524b; }
.api-tags { display: flex; gap: 6px; padding: 6px 12px 12px; }
.api-tags span { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 3px 8px; border-radius: 999px; }

/* ───────── Agentic ERP: full product pages scaled into the column ───────── */
.ow-scale { position: relative; width: 100%; aspect-ratio: 1280 / 754; }
.ow-scale .ow-full { position: absolute; left: 0; top: 0; width: 1280px; height: 754px; transform: scale(var(--s, .55)); transform-origin: 0 0;
  border-radius: 14px; box-shadow: 0 2px 0 rgba(255,255,255,.6) inset, 0 50px 120px -30px rgba(28,24,19,.30), 0 18px 40px -20px rgba(28,24,19,.18); }
.ow-scale .om-side { width: 220px; }
.ow-scale .om-nav li { padding: 8px 18px; font-size: 14px; gap: 11px; }
.ow-scale .om-nav li.active { padding-left: 16px; }
.ow-scale .om-nav li .om-ic { width: 18px; height: 18px; }
.ow-scale .om-logo img { width: 92px; }
.ow-scale .om-table td, .ow-scale .om-table th { padding-left: 10px; padding-right: 10px; }
.ow-scale .om-table td { padding-top: 10px; padding-bottom: 10px; }
.ow-shot::before { display: none; }

/* Pinned scrollytelling: one screen at a time, stage bleeds to the right edge */
.ow { padding: 72px 0 120px; overflow-x: clip; }
.ow-pin { position: relative; height: 304vh; }
.ow-sticky { position: sticky; top: 64px; height: calc(100vh - 64px); display: flex; align-items: center; }
.ow-sticky > .wrap { width: 100%; }
.ow-sticky .ow-grid { align-items: center; }
.ow-sticky .ow-copy { position: static; gap: 18px; }
.ow-steps li { position: relative; padding: 12px 0; }
.ow-steps li.on::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: calc(var(--p, 0) * 100%); background: var(--accent); border-radius: 1px; }
.ow-stage { position: relative; display: grid; align-items: start; margin-right: calc(-1 * max(0px, (100vw - 1216px) / 2 - 24px)); }
.ow-stage .ow-shot { grid-area: 1 / 1; position: relative; width: 100%; max-width: calc((100vh - var(--tb-h) - var(--nav-h) - var(--pin-oh, 250px)) * 1.697); margin: 0; opacity: 0; transform: translateY(36px) scale(.985); transform-origin: left top;
  transition: opacity .5s ease, transform .75s cubic-bezier(.2,.7,.2,1); pointer-events: none; }
.ow-stage .ow-shot.past { transform: translateY(-36px) scale(.985); }
.ow-stage .ow-shot.on { opacity: 1; transform: none; pointer-events: auto; }
.ow-more { margin-top: 24px; }

@media (max-width: 1100px) {
  .ow { padding: 80px 0; }
  .ow-pin { height: auto; }
  .ow-sticky { position: static; height: auto; display: block; }
  .ow-stage { height: auto; margin-right: 0; display: flex; flex-direction: column; gap: 56px; }
  .ow-stage .ow-shot, .ow-stage .ow-shot.past { position: static; width: 100%; max-width: none; opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ow-stage .ow-shot, .ow-stage .ow-shot.past { transition: opacity .2s; transform: none; }
}
.om .om-pill.neutral { background: #ece8e1; color: #57524b; border-color: #e3ded5; }

.ow-more { margin-top: 112px; padding-top: 40px; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 72px; align-items: start; }
.ow-more-h b { display: block; font-size: 22px; font-weight: 500; letter-spacing: -0.015em; }
.ow-more-h span { display: block; margin-top: 8px; font-size: 15px; color: var(--ink-3); line-height: 1.5; }
.ow-more-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 10px; }
.ow-more-grid a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; transition: border-color .2s, color .2s; }
.ow-more-grid a .om-ic { width: 18px; height: 18px; color: var(--accent); }
.ow-more-grid a:hover { border-color: color-mix(in oklab, var(--accent), transparent 50%); color: var(--accent); }
@media (max-width: 1100px) { .ow-more { grid-template-columns: 1fr; gap: 20px; } .ow-shots { gap: 56px; } }

/* ───────── Customer results ───────── */
.rs-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.rs-stats > div { padding: 28px 28px 30px 0; }
.rs-stats > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.rs-stats b { display: block; font-size: clamp(40px, 4.2vw, 60px); font-weight: 500; letter-spacing: -0.04em; line-height: 1; color: var(--ink); }
.rs-stats span { display: block; margin-top: 12px; font-size: 14.5px; color: var(--ink-2); }
.rs-stats small { display: block; margin-top: 4px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.rs-quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.rs-q { margin: 0; padding: 28px 30px; border-radius: 10px; background: var(--bg-soft); border: 1px solid color-mix(in oklab, var(--line), transparent 35%); display: flex; flex-direction: column; gap: 22px; }
.rs-q blockquote { margin: 0; font-size: 20px; line-height: 1.4; letter-spacing: -0.01em; color: var(--ink); text-wrap: pretty; }
.rs-q blockquote em { font-style: normal; background: linear-gradient(transparent 62%, color-mix(in oklab, var(--accent), transparent 80%) 0); }
.rs-q figcaption { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-3); margin-top: auto; }
.rs-q figcaption i { width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 600; color: var(--ink-2); flex: none; }
.rs-q figcaption b { display: block; font-weight: 500; color: var(--ink); }

/* ───────── Trust & security ───────── */
.tr-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.tr-item { padding: 28px 24px 30px 0; display: grid; gap: 10px; align-content: start; border-bottom: 1px solid var(--line); }
.tr-item:not(:nth-child(4n+1)) { padding-left: 24px; border-left: 1px solid var(--line); }
.tr-item b { font-size: 16px; font-weight: 500; }
.tr-item p { margin: 0; font-size: 14.5px; color: var(--ink-3); line-height: 1.5; }

/* ───────── Implementation & support ───────── */
.im-time { position: relative; border-radius: 10px; background: var(--bg-soft); border: 1px solid color-mix(in oklab, var(--line), transparent 35%); padding: 40px 40px 44px; overflow: hidden; }
.im-time > canvas { position: absolute; left: 0; bottom: 0; width: 100%; height: 150px; pointer-events: none; }
.im-steps { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.im-steps::before { content: ""; position: absolute; left: 6px; right: 0; top: 6px; height: 1px; background: repeating-linear-gradient(90deg, var(--line-2) 0 4px, transparent 4px 8px); }
.im-steps > div { position: relative; padding-top: 30px; display: grid; gap: 6px; align-content: start; }
.im-steps > div::before { content: ""; position: absolute; left: 0; top: 0; width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); }
.im-steps > div:last-child::before { background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.im-steps .d { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.im-steps b { font-size: 18px; font-weight: 500; }
.im-steps span { font-size: 14.5px; color: var(--ink-3); line-height: 1.45; }
.im-pillars { margin-top: 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.im-pillars > div { padding: 26px; border: 1px solid var(--line); border-radius: 10px; display: grid; gap: 12px; align-content: start; }
.im-pillars b { font-size: 18px; font-weight: 500; }
.im-pillars p { margin: 0; font-size: 15px; color: var(--ink-3); line-height: 1.5; }

/* ───────── Pricing ───────── */
.pr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.pr-grid > div { padding: 24px 24px 26px 0; display: grid; grid-template-columns: 34px 1fr; gap: 4px 8px; align-content: start; border-bottom: 1px solid var(--line); }
.pr-grid > div:not(:nth-child(3n+1)) { padding-left: 24px; border-left: 1px solid var(--line); }
.pr-grid .n { grid-row: span 2; font-family: var(--mono); font-size: 11px; color: var(--accent); padding-top: 4px; }
.pr-grid b { font-size: 16px; font-weight: 500; }
.pr-grid p { margin: 0; font-size: 14.5px; color: var(--ink-3); line-height: 1.5; }
.pr-foot { margin-top: 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 26px 30px; border-radius: 10px; background: var(--bg-soft); border: 1px solid color-mix(in oklab, var(--line), transparent 35%); }
.pr-foot p { margin: 0; font-size: 17px; color: var(--ink-2); max-width: 640px; }

/* ───────── Cockpit: humans in the loop ───────── */
.ck-app { display: grid; grid-template-columns: 248px minmax(0, 1fr) 300px; background: var(--om-surface); }
.ck-rail { background: var(--om-surface); border-right: 1px solid var(--om-border); display: flex; flex-direction: column; min-height: 0; }
.ck-rail-h { display: flex; align-items: baseline; justify-content: space-between; padding: 16px 16px 10px; }
.ck-rail-h b { font-size: 15px; font-weight: 600; }
.ck-rail-h span { font-size: 12px; color: var(--om-fg-subtle); }
.ck-queues { list-style: none; margin: 0; padding: 0 8px 10px; display: grid; gap: 1px; border-bottom: 1px solid var(--om-border-subtle); }
.ck-queues li { display: flex; align-items: center; gap: 9px; padding: 5px 8px; border-radius: 5px; font-size: 13px; color: var(--om-fg-muted); transition: background .25s, color .25s; }
.ck-queues li b { margin-left: auto; min-width: 18px; text-align: right; font-size: 12px; font-weight: 600; color: var(--om-fg-subtle); }
.ck-queues li.on { background: var(--om-tint); color: var(--om-brand-strong); font-weight: 600; }
.ck-queues li.on b { color: var(--om-brand); }
.ck-rows { flex: 1; min-height: 0; overflow: hidden; padding: 6px 0; }
.ck-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1px 8px; max-height: 64px; padding: 9px 16px 9px 14px; border-left: 2px solid transparent; font-size: 13px; transition: opacity .35s, transform .35s, max-height .35s .1s, padding .35s .1s; }
.ck-row .p { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ck-row .a { font-family: "OM Mono", ui-monospace, monospace; font-size: 11.5px; color: var(--om-fg-muted); }
.ck-row .s { grid-column: 1 / -1; font-size: 12px; color: var(--om-fg-subtle); }
.ck-row .s.amber { color: var(--om-warn-s); font-weight: 600; }
.ck-row.on { background: var(--om-tint-hover); border-left-color: var(--om-brand); }
.ck-row.gone { opacity: 0; transform: translateX(-14px); max-height: 0; padding-top: 0; padding-bottom: 0; }
.ck-dec { position: relative; min-width: 0; padding: 26px 30px 24px; display: flex; flex-direction: column; gap: 16px; transition: opacity .3s; }
.ck-dec.swap { opacity: 0; }
.ck-kicker { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--om-fg-subtle); }
.ck-chip { font-size: 11.5px; font-weight: 500; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--om-border); background: var(--om-surface); color: var(--om-fg-muted); }
.ck-chip.amber { background: var(--om-warn-t); border-color: var(--om-warn-b); color: var(--om-warn-s); }
.ck-q { margin: 0; font-size: 24px; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; color: var(--om-fg); }
.ck-ids { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--om-surface); border: 1px solid var(--om-border); border-radius: 6px; }
.ck-ids > div { padding: 10px 13px; min-width: 0; }
.ck-ids > div:nth-child(n+4) { border-top: 1px solid var(--om-border-subtle); }
.ck-ids > div:not(:nth-child(3n+1)) { border-left: 1px solid var(--om-border-subtle); }
.ck-ids dt { font-size: 11.5px; color: var(--om-fg-subtle); }
.ck-ids dd { margin: 3px 0 0; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ck-why { margin: 0; padding: 10px 12px; border-radius: 6px; background: var(--om-bg-subtle); border: 1px solid var(--om-border-subtle); font-size: 13.5px; line-height: 1.5; color: var(--om-fg-muted); }
.ck-why b { color: var(--om-fg); }
.ck-acts { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ck-acts .om-btn { transition: transform .15s, box-shadow .15s; }
.ck-acts .om-btn.press { transform: scale(.96); box-shadow: 0 0 0 4px var(--om-az-100); }
.ck-acts kbd { margin-left: 4px; padding: 0 5px; border: 1px solid var(--om-border-strong); border-radius: 3px; font-family: "OM Mono", ui-monospace, monospace; font-size: 10.5px; line-height: 16px; color: var(--om-fg-subtle); }
.ck-acts .primary kbd { border-color: rgba(255,255,255,.45); color: #fff; }
.ck-help { flex-basis: 100%; font-size: 12.5px; color: var(--om-fg-subtle); }
.ck-done { position: absolute; top: 22px; right: 24px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; background: var(--om-ok-t); border: 1px solid var(--om-ok-b); color: var(--om-ok-s); font-size: 12.5px; font-weight: 600; opacity: 0; transform: translateY(-4px); transition: opacity .25s, transform .25s; }
.ck-done.show { opacity: 1; transform: none; }
.ck-doc { border-left: 1px solid var(--om-border); background: var(--om-bg-muted); padding: 22px 20px; display: flex; align-items: flex-start; justify-content: center; }
.ck-pdf { width: 100%; aspect-ratio: 1 / 1.414; display: flex; flex-direction: column; gap: 9px; padding: 18px 16px; background: #fff; border: 1px solid var(--om-border); box-shadow: var(--om-shadow-card); font-size: 10px; color: var(--om-fg-muted); transition: opacity .3s; }
.ck-pdf .h { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; margin-bottom: 6px; }
.ck-pdf .h b { font-size: 11.5px; color: var(--om-fg); }
.ck-pdf .bar { height: 5px; border-radius: 2px; background: var(--om-bg-muted); }
.ck-pdf .ln { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.ck-pdf .ln .bar { flex: 1; }
.ck-pdf .tot { margin-top: auto; display: flex; justify-content: space-between; padding-top: 8px; border-top: 1px solid var(--om-border); font-weight: 600; color: var(--om-fg); }
@media (max-width: 720px) {
  .ck-app { grid-template-columns: minmax(0, 1fr); height: auto; min-height: 460px; }
  .ck-rail, .ck-doc { display: none; }
  .ck-dec { padding: 20px 18px; }
  .ck-q { font-size: 20px; }
  .ck-ids { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ck-ids > div:nth-child(n+3) { border-top: 1px solid var(--om-border-subtle); }
  .ck-ids > div:not(:nth-child(3n+1)) { border-left: 0; }
  .ck-ids > div:nth-child(2n) { border-left: 1px solid var(--om-border-subtle); }
}

/* ───────── Cockpit + AI assistants: pinned two-step stage ───────── */
.cp { padding: 72px 0 72px; background: var(--bg); overflow-x: clip; }
.cp-pin { position: relative; height: 230vh; }
.cp-sticky { position: sticky; top: calc(var(--tb-h) + var(--nav-h)); height: calc(100vh - var(--tb-h) - var(--nav-h)); display: flex; align-items: center; }
.cp-sticky > .wrap { width: 100%; }
.cp-sticky .sx-head, .ow-sticky .sx-head { margin-bottom: 32px; }
.cp-sticky .ow-grid, .ow-sticky .ow-grid { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 48px; }
@media (max-height: 820px) {
  :root { --pin-oh: 215px; }
  .cp-sticky .sx-head, .ow-sticky .sx-head { gap: 10px; margin-bottom: 20px; }
  .cp-sticky .sx-head h2, .ow-sticky .sx-head h2 { font-size: 44px; }
}
.cp-sticky .ow-grid, .ow-sticky .ow-grid { align-items: start; }
.cp-sticky .ow-copy { position: static; gap: 18px; }
.cp-stage { position: relative; display: grid; align-items: start; margin-right: calc(-1 * max(0px, (100vw - 1216px) / 2 - 24px)); }
.cp-shot { grid-area: 1 / 1; position: relative; width: 100%; max-width: calc((100vh - var(--tb-h) - var(--nav-h) - var(--pin-oh, 250px)) * 1.697); margin: 0; opacity: 0; transform: translateY(36px) scale(.985); transform-origin: left top;
  transition: opacity .5s ease, transform .75s cubic-bezier(.2,.7,.2,1); pointer-events: none; }
.cp-shot.past { transform: translateY(-36px) scale(.985); }
.cp-shot.on { opacity: 1; transform: none; pointer-events: auto; }
.cp-scale { position: relative; width: 100%; aspect-ratio: 1120 / 660; }
.cp-full { position: absolute; left: 0; top: 0; width: 1120px; height: 660px; transform: scale(var(--s, .7)); transform-origin: 0 0; }
.cp-full > .om-window { height: 100%; }
.cp-full .ck-app { height: calc(100% - 34px); }

/* AI assistant windows: one structure, three skins (Copilot, Claude, ChatGPT) */
.ai-stack { position: relative; height: 100%; }
.ai-frame { position: relative; height: 100%; display: flex; flex-direction: column; }
.ai-tabsbar { flex: none; height: 40px; display: flex; align-items: flex-end; gap: 2px; padding: 0 10px; background: #ece9e3; }
.ai-tabsbar .dot { width: 11px; height: 11px; border-radius: 50%; align-self: center; margin-right: 7px; }
.ai-tabsbar .dot:nth-child(1) { background: #ff5f57; } .ai-tabsbar .dot:nth-child(2) { background: #febc2e; } .ai-tabsbar .dot:nth-child(3) { background: #28c840; margin-right: 18px; }
.ai-tab { width: 190px; height: 32px; display: flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: 9px 9px 0 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; font-size: 12.5px; color: #5f5b55; transition: background .2s, color .2s; }
.ai-tab.on { background: #fff; color: #1c1813; }
.ai-fav { width: 14px; height: 14px; flex: none; }
.ai-addr { flex: none; height: 36px; display: flex; align-items: center; padding: 0 14px; background: #fff; border-bottom: 1px solid #e3ded5; }
.ai-url { min-width: 340px; padding: 3px 14px; border-radius: 999px; background: #f1efeb; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; font-size: 12px; color: #57524b; }
.ai-views { position: relative; flex: 1; min-height: 0; }
.ai-win { position: absolute; inset: 0; opacity: 0; transition: opacity .35s ease; background: var(--ai-bg); }
.ai-win.on { opacity: 1; z-index: 1; }
.ai-app { height: 100%; display: grid; grid-template-columns: 56px minmax(0, 1fr); background: var(--ai-bg); color: var(--ai-fg);
  font-family: var(--ai-font); font-size: 14px; line-height: 1.5; text-align: left; -webkit-font-smoothing: antialiased; }
.ai-app svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ai-side { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px 0; background: var(--ai-side); border-right: 1px solid var(--ai-line); }
.ai-logo { display: block; width: 24px; height: 24px; flex: none; margin-bottom: 8px; }
.ai-sb { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; color: var(--ai-icon); }
.ai-grow { flex: 1; }
.ai-me { width: 28px; height: 28px; border-radius: 50%; background: #3d3d3a; color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 600; }
.ai-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.ai-head { height: 52px; flex: none; display: flex; align-items: center; gap: 6px; padding: 0 22px; font-size: 14px; color: var(--ai-fg2); }
.ai-head svg { width: 15px; height: 15px; color: var(--ai-icon); }
.ai-thread { flex: 1; min-height: 0; overflow: hidden; scroll-behavior: smooth; padding-bottom: 12px; }
.ai-col { width: 700px; max-width: calc(100% - 48px); margin: 6px auto 0; display: flex; flex-direction: column; gap: 16px; }
.ai-user { align-self: flex-end; max-width: 80%; display: flex; gap: 10px; align-items: flex-start; padding: 10px 16px; border-radius: var(--ai-bubble-r, 12px); background: var(--ai-bubble); font-size: 15px; }
.ai-user p { margin: 0; }
.ai-av { display: none; width: 24px; height: 24px; border-radius: 50%; background: #3d3d3a; color: #fff; place-items: center; font-size: 10.5px; font-weight: 600; flex: none; }
.ai-bot { display: flex; flex-direction: column; gap: 8px; }
.ai-tool { border: 1px solid var(--ai-line); border-radius: 10px; background: #fff; overflow: hidden; }
.ai-th { display: flex; align-items: center; gap: 8px; padding: 7px 12px; font-size: 13px; color: var(--ai-fg2); }
.ai-th img { width: 15px; height: 15px; }
.ai-th .nm { font-weight: 500; }
.ai-th .src { color: var(--ai-ph); font-size: 12px; }
.ai-th .st { margin-left: auto; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ai-line); border-top-color: var(--ai-send); animation: ai-spin .8s linear infinite; }
.ai-tool.done .st { animation: none; border: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a7f37' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.ai-req { font-variant-ligatures: none; margin: 0; padding: 9px 12px 10px; border-top: 1px solid var(--ai-line); background: var(--ai-code, #f7f6f2); font-family: "OM Mono", ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11.5px; line-height: 1.55; color: var(--ai-fg2); white-space: pre; }
.ai-req:empty { display: none; }
.ai-ans { font-family: var(--ai-ans-font, inherit); font-size: 16px; line-height: 1.6; color: var(--ai-fg); }
.ai-ans p { margin: 4px 0 10px; }
.ai-ans p:empty { display: none; }
.ai-ans table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 4px 0 12px; font-family: var(--ai-font); font-size: 13.5px; }
.ai-ans th { text-align: left; font-weight: 600; padding: 6px 14px 6px 0; border-bottom: 1px solid var(--ai-line); }
.ai-ans td { padding: 6px 14px 6px 0; border-bottom: 1px solid var(--ai-line); }
.ai-ans .r { text-align: right; font-variant-numeric: tabular-nums; }
.ai-ans .warn { color: #a3551b; font-weight: 600; }
.ai-ans b { font-weight: 600; }
.ai-refs { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ai-icon); }
.ai-refs span { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border: 1px solid var(--ai-line); border-radius: 6px; background: #fff; }
.ai-refs i { font-style: normal; width: 15px; height: 15px; border-radius: 50%; background: #ebebeb; display: grid; place-items: center; font-size: 9.5px; font-weight: 600; }
.ai-work { display: block; width: 20px; height: 20px; }
.ai-composer { flex: none; width: 720px; max-width: calc(100% - 32px); margin: 8px auto 18px; padding: 12px 14px 10px; background: #fff; border: 1px solid var(--ai-line); border-radius: var(--ai-comp-r, 16px); box-shadow: 0 2px 10px rgba(20,20,19,.05); }
.ai-input { position: relative; min-height: 24px; font-size: 15px; color: var(--ai-fg); }
.ai-caret { display: inline-block; width: 1.5px; height: 18px; margin-left: 1px; vertical-align: -3px; background: var(--ai-fg); animation: ai-blink 1s steps(1) infinite; }
.ai-ph { position: absolute; left: 0; top: 0; color: var(--ai-ph); }
.ai-bar { margin-top: 10px; display: flex; align-items: center; gap: 8px; }
.ai-ib { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--ai-line); border-radius: 8px; color: var(--ai-icon); }
.ai-ib svg { width: 16px; height: 16px; }
.ai-ib.bare { border: 0; }
.ai-conn { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border: 1px solid var(--ai-line); border-radius: 8px; font-size: 12.5px; color: var(--ai-fg2); }
.ai-conn img { width: 14px; height: 14px; }
.ai-model { display: inline-flex; align-items: center; gap: 3px; font-size: 13px; color: var(--ai-fg2); }
.ai-model svg { width: 14px; height: 14px; }
.ai-send { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; background: var(--ai-send); color: #fff; opacity: .4; transition: opacity .2s; }
.ai-send.on { opacity: 1; }
.ai-send svg { width: 16px; height: 16px; stroke-width: 2.2; }
.ai-hide { display: none !important; }
.ai-user, .ai-tool, .ai-ans table, .ai-ans tr, .ai-refs { animation: ai-fade .35s ease both; }
@keyframes ai-fade { from { opacity: 0; } }
@keyframes ai-spin { to { transform: rotate(360deg); } }
@keyframes ai-blink { 50% { opacity: 0; } }
@keyframes ai-pulse { 50% { transform: scale(.7); opacity: .6; } }

/* Microsoft 365 Copilot */
.ai-copilot { --ai-bg: #fafafa; --ai-side: #f0f0f0; --ai-line: #e0e0e0; --ai-fg: #242424; --ai-fg2: #424242; --ai-icon: #616161; --ai-ph: #707070;
  --ai-bubble: #e8ebfa; --ai-send: #5b5fc7; --ai-comp-r: 12px; --ai-font: "Segoe UI", -apple-system, BlinkMacSystemFont, system-ui, sans-serif; }
.ai-copilot .ai-logo, .ai-copilot .ai-work, .ai-tab.ai-copilot .ai-fav { background: linear-gradient(135deg, #2870ea 0%, #1ab6d6 30%, #4fcf70 50%, #f4b93a 68%, #ec5a8a 84%, #8a5cf6 100%);
  -webkit-mask: url(logos/copilot.svg) center / contain no-repeat; mask: url(logos/copilot.svg) center / contain no-repeat; }
.ai-copilot .ai-work { width: 18px; height: 18px; animation: ai-pulse 1.2s ease-in-out infinite; }
.ai-copilot .ai-head b { font-size: 15px; font-weight: 600; color: var(--ai-fg); }
.ai-toggle { margin-left: 10px; display: inline-flex; padding: 2px; border-radius: 8px; background: #ebebeb; font-size: 12.5px; }
.ai-toggle span { padding: 2px 12px; border-radius: 6px; color: var(--ai-icon); }
.ai-toggle span.on { background: #fff; color: var(--ai-fg); font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.ai-copilot .ai-tool { border: 0; background: none; }
.ai-copilot .ai-th { padding: 1px 0; font-size: 12.5px; color: var(--ai-icon); }
.ai-copilot .ai-th .nm { font-weight: 400; }
.ai-copilot .ai-th .st { margin-left: 4px; }
.ai-copilot .ai-req { display: none; }
.ai-copilot .ai-ans { font-size: 15px; }
.ai-copilot .ai-ans th { background: #f5f5f5; padding-left: 10px; }
.ai-copilot .ai-ans td { padding-left: 10px; }

/* Claude */
.ai-claude { --ai-bg: #faf9f5; --ai-side: #f5f4ee; --ai-line: #e5e3da; --ai-fg: #141413; --ai-fg2: #3d3d3a; --ai-icon: #73726c; --ai-ph: #9a9890;
  --ai-bubble: #f0eee6; --ai-send: #d97757; --ai-code: #f7f6f2; --ai-ans-font: ui-serif, Georgia, "Times New Roman", serif;
  --ai-font: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; }
.ai-claude .ai-logo, .ai-claude .ai-work, .ai-tab.ai-claude .ai-fav { background: #d97757;
  -webkit-mask: url(logos/claude.svg) center / contain no-repeat; mask: url(logos/claude.svg) center / contain no-repeat; }
.ai-claude .ai-work { animation: ai-spin 3s linear infinite; }
.ai-claude .ai-user { align-self: flex-start; padding-left: 10px; }
.ai-claude .ai-av { display: grid; }

/* ChatGPT */
.ai-chatgpt { --ai-bg: #ffffff; --ai-side: #f9f9f9; --ai-line: #ececec; --ai-fg: #0d0d0d; --ai-fg2: #0d0d0d; --ai-icon: #5d5d5d; --ai-ph: #8f8f8f;
  --ai-bubble: #f4f4f4; --ai-bubble-r: 18px; --ai-send: #000000; --ai-comp-r: 28px; --ai-code: #f9f9f9;
  --ai-font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; }
.ai-chatgpt .ai-logo, .ai-tab.ai-chatgpt .ai-fav { background: #0d0d0d;
  -webkit-mask: url(logos/openai.svg) center / contain no-repeat; mask: url(logos/openai.svg) center / contain no-repeat; }
.ai-chatgpt .ai-work { width: 12px; height: 12px; margin-left: 2px; border-radius: 50%; background: #0d0d0d; animation: ai-pulse 1s ease-in-out infinite; }
.ai-chatgpt .ai-head { font-size: 17px; font-weight: 500; }
.ai-chatgpt .ai-tool { border: 0; background: none; }
.ai-chatgpt .ai-th { padding: 1px 0; color: var(--ai-icon); font-size: 13.5px; }
.ai-chatgpt .ai-req { margin-top: 6px; border: 1px solid var(--ai-line); border-radius: 12px; }
.ai-chatgpt .ai-composer { padding: 10px 12px 10px 18px; }
.ai-chatgpt .ai-send { width: 34px; height: 34px; border-radius: 50%; }


@media (max-width: 1100px) {
  .cp { padding: 80px 0; }
  .cp-pin { height: auto; }
  .cp-sticky { position: static; height: auto; display: block; }
  .cp-stage { height: auto; margin: 40px 0 0; display: flex; flex-direction: column; gap: 48px; }
  .cp-shot, .cp-shot.past { position: static; max-width: none; opacity: 1; transform: none; }
}
@media (max-width: 760px) {
  .cp-scale { aspect-ratio: auto; }
  .cp-full { position: static; width: auto; height: auto; transform: none; }
  .cp-full .ck-app { height: auto; }
  .cp-full .ai-stack { height: 600px; }
  .ai-app { grid-template-columns: minmax(0, 1fr); }
  .ai-side, .ai-toggle, .ai-conn, .ai-model, .ai-tabsbar .dot { display: none; }
  .ai-tab { width: auto; flex: 1; min-width: 0; padding: 0 10px; }
  .ai-url { min-width: 0; }
  .ai-col { max-width: calc(100% - 28px); }
  .ai-req { font-size: 10.5px; white-space: pre-wrap; }
  .ai-ans th:nth-child(2), .ai-ans td:nth-child(2) { display: none; }
  .ai-ans td:first-child { white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  .cp-shot, .cp-shot.past { transition: opacity .2s; }
}

/* Cockpit: pre-filled sections and clickable rail */
.ck-dec { overflow: hidden; gap: 14px; }
.ck-sec h4 { margin: 0 0 6px; font-size: 12.5px; font-weight: 600; color: var(--om-fg); }
.ck-facts { margin: 0; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 4px 12px; font-size: 13px; }
.ck-facts dt { color: var(--om-fg-subtle); }
.ck-facts dd { margin: 0; color: var(--om-fg); }
.ck-steps, .ck-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: 13px; }
.ck-steps li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 10px; border: 1px solid var(--om-border-subtle); border-radius: 6px; background: var(--om-surface); }
.ck-steps .amber { color: var(--om-warn-s); font-weight: 600; }
.ck-list li { padding-left: 14px; position: relative; color: var(--om-fg); }
.ck-list li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: var(--om-warn); }
.ck-tbl { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; }
.ck-tbl th { text-align: left; font-weight: 500; color: var(--om-fg-subtle); padding: 0 0 4px; border-bottom: 1px solid var(--om-border); }
.ck-tbl td { padding: 6px 0; border-bottom: 1px solid var(--om-border-subtle); }
.ck-tbl .r { text-align: right; font-family: "OM Mono", ui-monospace, monospace; font-size: 12px; }
.ck-mail { display: grid; gap: 6px; font-size: 13px; }
.ck-mail .f { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; align-items: start; }
.ck-mail label { padding-top: 6px; color: var(--om-fg-subtle); }
.ck-mail .in { display: block; padding: 5px 10px; border: 1px solid var(--om-border-strong); border-radius: 5px; background: var(--om-surface); color: var(--om-fg); }
.ck-mail .in.body { white-space: pre-wrap; line-height: 1.4; font-size: 12px; }
.ck-mail .known { margin: -2px 0 0 74px; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--om-fg-subtle); }
.ck-mail .chip { padding: 1px 8px; border: 1px solid var(--om-border); border-radius: 999px; background: var(--om-bg-subtle); color: var(--om-fg-muted); }
.ck-queues li, .ck-row { cursor: pointer; }
.ck-queues li:hover:not(.on) { background: var(--om-bg-subtle); color: var(--om-fg); }
.ck-row:hover:not(.on) { background: var(--om-bg-subtle); }
.ck-win.live .cur { opacity: 0; transition: opacity .2s; }

/* Cockpit: clickable decisions with an invitation to try */
.ck-acts button.om-btn { font-family: inherit; line-height: inherit; cursor: pointer; transition: background-color .15s, transform .15s, box-shadow .15s; }
.ck-acts button.om-btn.primary { border: 0; }
.ck-acts button.om-btn.primary:hover { background: var(--om-brand-strong); }
.ck-acts button.om-btn.secondary:hover { background: var(--om-bg-subtle); }
.ck-acts .om-btn.primary.pulse { animation: ck-pulse 1.8s ease-out infinite; }
@keyframes ck-pulse { 0% { box-shadow: 0 0 0 0 rgba(10,109,189,.45); } 70%, 100% { box-shadow: 0 0 0 10px rgba(10,109,189,0); } }
.ck-done.neg { background: var(--om-bg-subtle); border-color: var(--om-border); color: var(--om-fg-muted); }
.ck-hint { position: absolute; left: 0; top: 0; z-index: 4; transform: translate(-50%, calc(-100% - 12px)); padding: 7px 11px; border-radius: 6px; background: #1c1813; color: #fff; font-size: 12.5px; font-weight: 500; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .3s; }
.ck-hint::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 9px; height: 9px; border-radius: 2px; background: #1c1813; transform: translateX(-50%) rotate(45deg); }
.ck-hint.show { opacity: 1; animation: ck-bob 1.8s ease-in-out infinite; }
@keyframes ck-bob { 50% { transform: translate(-50%, calc(-100% - 16px)); } }
@media (prefers-reduced-motion: reduce) { .ck-acts .om-btn.primary.pulse, .ck-hint.show { animation: none; } }

.ck-mail .in.body .att { display: flex; width: max-content; margin-top: 8px; white-space: normal; }
.ck-mail .att { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid var(--om-border); border-radius: 5px; background: var(--om-bg-subtle); font-size: 12.5px; color: var(--om-fg); }
.ck-mail .att svg { width: 14px; height: 14px; fill: none; stroke: var(--om-fg-muted); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ck-mail .att small { font-size: 11.5px; color: var(--om-fg-subtle); }

.ck-empty { margin: auto; display: grid; justify-items: center; gap: 10px; text-align: center; }
.ck-empty-ic { width: 44px; height: 44px; border-radius: 50%; background: var(--om-ok-t); color: var(--om-ok-s); display: grid; place-items: center; font-size: 22px; font-weight: 600; }
.ck-empty-sub { margin: 0 0 6px; max-width: 360px; font-size: 14px; color: var(--om-fg-muted); }
.ck-empty button.om-btn { font-family: inherit; line-height: inherit; cursor: pointer; }
.ck-queues li.empty { opacity: .45; cursor: default; }
.ck-rail-empty { margin: 0; padding: 12px 16px; font-size: 13px; color: var(--om-fg-subtle); }

/* Pointer used by the cockpit and assistant demos */
.ck-win { position: relative; }
.cur { position: absolute; left: 0; top: 0; z-index: 6; width: 26px; height: 26px; margin: -3px 0 0 -5px; pointer-events: none;
  transition-property: transform; transition-timing-function: cubic-bezier(.45,.05,.25,1); will-change: transform; }
.cur svg { display: block; width: 26px; height: 26px; fill: #111; stroke: #fff; stroke-width: 1.4; stroke-linejoin: round; filter: drop-shadow(0 1px 1.5px rgba(0,0,0,.3)); transform-origin: 5px 3px; transition: transform .12s; }
.cur.down svg { transform: scale(.85); }
.cur::after { content: ""; position: absolute; left: 5px; top: 3px; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 2px solid rgba(0,110,199,.55); opacity: 0; transform: scale(.2); }
.cur.down::after { animation: cur-ripple .45s ease-out; }
@keyframes cur-ripple { 0% { opacity: .9; transform: scale(.2); } 100% { opacity: 0; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .cur { display: none; } }
@media (max-width: 760px) { .cur { display: none; } }

/* Buttons: solid primary, outlined secondary, no arrows */
.btn { gap: 0; padding: 11px 22px; border-radius: 8px; font-size: 15px; font-weight: 500; letter-spacing: -0.005em; transition: background-color .2s, color .2s, border-color .2s; }
.btn-arrow::after, .btn svg { display: none; }
.btn-primary { background: var(--accent); color: #fff; border: 1px solid var(--accent); }
.btn-primary:hover { background: #005ba6; border-color: #005ba6; transform: none; }
.btn-ghost, .btn-ghost[href*="calendar.app.google"] { background: transparent; color: var(--accent); border: 1px solid color-mix(in oklab, var(--accent), transparent 35%); }
.btn-ghost:hover, .btn-ghost[href*="calendar.app.google"]:hover { background: var(--accent-soft); color: var(--accent); border-color: var(--accent); }
.nav-cta .btn { padding: 8px 18px; font-size: 14px; }

/* Headlines: plain by default; two-part headlines set their payoff in grey.
   ?em=marker shows the earlier highlighter treatment for comparison. */
html:not(.em-marker) .italic-swap em { font-style: normal; font-weight: inherit; color: inherit; background: none !important; padding: 0; }
html:not(.em-marker) .two-tone em { color: var(--muted); }

/* The agents section starts right under the hero, so its headline peeks in. */
.ag-sec { padding-top: 124px; }

/* ───────── FAQ ───────── */
.fq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.fq-head { position: sticky; top: calc(var(--tb-h, 0px) + var(--nav-h, 64px) + 32px); display: grid; gap: 20px; justify-items: start; }
.fq-head h2 { margin: 0; }
.fq-head .sx-lede { margin: 0; }
.fq-list { border-top: 1px solid var(--line); }
.fq-list details { border-bottom: 1px solid var(--line); }
.fq-list summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; font-size: 18px; font-weight: 500; color: var(--ink); }
.fq-list summary::-webkit-details-marker { display: none; }
.fq-list summary::after { content: ""; flex: none; width: 12px; height: 12px; background: linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat; color: var(--ink-3); transition: transform .2s; }
.fq-list details[open] summary::after { transform: rotate(45deg); }
.fq-list summary:hover { color: var(--accent); }
.fq-list summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.fq-list p { margin: -6px 0 0; padding: 0 48px 24px 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); max-width: 680px; }
.fq-list p a { color: var(--accent); text-decoration: none; border-bottom: 1px solid color-mix(in oklab, var(--accent), transparent 60%); }
@media (max-width: 960px) {
  .fq-grid { grid-template-columns: 1fr; gap: 40px; }
  .fq-head { position: static; }
  .fq-list summary { font-size: 17px; }
  .fq-list p { padding-right: 0; }
}

/* ───────── Community ───────── */
.cm-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; }
.cm-card { display: flex; flex-direction: column; gap: 12px; padding: 26px; border: 1px solid var(--line); border-radius: 10px; color: inherit; text-decoration: none; min-height: 230px; transition: border-color .2s, transform .2s; }
.cm-card:hover { border-color: color-mix(in oklab, var(--accent), transparent 55%); transform: translateY(-2px); }
.cm-card.feat { background: var(--bg-soft); }
.cm-card h3 { margin: 0; font-size: 21px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.2; }
.cm-card p { margin: 0; font-size: 15px; color: var(--ink-3); line-height: 1.5; }
.cm-card .sx-tag { margin-top: auto; }

@media (max-width: 1100px) {
  .sx-head { grid-template-columns: 1fr; gap: 16px; }
  .ex-more { grid-template-columns: 1fr; }
  .ex-more > div, .ex-more > div + div { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .ag-grid { --n: 2 !important; }
  .cm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rs-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rs-stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .rs-stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .tr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tr-item:not(:nth-child(4n+1)) { padding-left: 0; border-left: 0; }
  .tr-item:nth-child(2n) { padding-left: 24px; border-left: 1px solid var(--line); }
  .im-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .im-steps::before { display: none; }
  .im-pillars { grid-template-columns: 1fr; }
  .pr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pr-grid > div:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .pr-grid > div:nth-child(2n) { padding-left: 24px; border-left: 1px solid var(--line); }
}
@media (max-width: 700px) {
  .sx-sec { padding: 80px 0; }
  .ag-grid { --n: 1 !important; }
  .cm-grid, .rs-quotes, .tr-grid, .pr-grid { grid-template-columns: 1fr; }
  .tr-item:nth-child(2n), .pr-grid > div:nth-child(2n) { padding-left: 0; border-left: 0; }
  .rs-stats > div { padding-right: 12px; }
  .rs-stats > div + div { padding-left: 16px; }
  .im-time { padding: 28px 22px; }
  .im-steps { grid-template-columns: 1fr; }
  .rs-q blockquote { font-size: 18px; }
}
.footer-co { margin: var(--space-24) 0 0; font-style: normal; display: grid; gap: var(--space-4); font-size: var(--text-13); line-height: 1.5; color: color-mix(in oklab, var(--bg), transparent 40%); }
.footer-co b { font-size: var(--text-15); font-weight: var(--weight-medium); color: var(--bg); letter-spacing: 0.01em; }

/* ───────── Phones and tablets: pinned sections stack (the desktop two-column rule above would win otherwise) ───────── */
@media (max-width: 1100px) {
  .cp-sticky .ow-grid, .ow-sticky .ow-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .cp-sticky .sx-head, .ow-sticky .sx-head { margin-bottom: 8px; }
}
@media (max-width: 1100px) {
  .ow-sticky, .cp-sticky { position: static !important; height: auto !important; }
}
/* Phones: product screens at a readable size, cropped on the right like the hero window */
@media (max-width: 760px) {
  .ow-scale { aspect-ratio: auto; height: 400px; overflow: hidden; border-radius: 12px; box-shadow: 0 24px 50px -28px rgba(28,24,19,.35); border: 1px solid #e3ded5; }
  .ow-scale .ow-full { transform: scale(.6) !important; border-radius: 0; box-shadow: none; height: 667px; }
  .ow-scale .om-side { display: none; }
  .ow-stage { gap: 40px; }
}

/* Phones: the Orchestrator and assistant demos only play – no tapping, one fixed height */
@media (max-width: 760px) {
  #cockpit .ck-win, #cockpit .ai-stack { pointer-events: none; -webkit-user-select: none; user-select: none; }
  #cockpit .ck-hint { display: none !important; }
  .cp-full .ck-app { height: 380px; min-height: 0; }
  .ck-dec { height: 100%; padding: 18px 16px 16px; gap: 12px; }
  .ck-dec .ck-sec, .ck-dec .ck-mail, .ck-dec .ck-help { display: none; }
  .ck-dec .ck-why { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
  .ck-dec .ck-q { font-size: 19px; }
  .ck-dec .ck-acts { margin-top: auto; flex-wrap: nowrap; }
  .ck-dec .ck-acts kbd { display: none; }
  .ck-dec .ck-acts .om-btn { padding: 0 12px; font-size: 13px; }
  .ck-empty { margin: auto; }
}
@media (max-width: 760px) {
  .ai-ans table { table-layout: fixed; }
  .ai-ans th, .ai-ans td, .ai-ans td:first-child { white-space: normal; overflow-wrap: anywhere; vertical-align: top; }
}

/* "No ERP yet?" on phones: compact module panels instead of cropped desktop tables */
.ow-mob { display: none; }
@media (max-width: 760px) {
  .ow-scale { display: none !important; }
  .ow-mob { display: block; background: #fff; border: 1px solid #e3ded5; border-radius: 12px; box-shadow: 0 24px 50px -28px rgba(28,24,19,.35); overflow: hidden; }
}
/* Compact panel parts, shared by the "No ERP yet?" panels and the hero panel */
.mo-h { display: grid; grid-template-columns: 32px 1fr; gap: 0 10px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--om-border-subtle); background: var(--om-bg-subtle); }
.mo-ic { grid-row: span 2; width: 32px; height: 32px; border-radius: 7px; background: var(--om-tint); color: var(--om-brand); display: grid; place-items: center; }
.mo-ic .om-ic { width: 17px; height: 17px; }
.mo-h b { font-size: 15px; font-weight: 600; line-height: 1.2; }
.mo-h > span:last-child { font-size: 12.5px; color: var(--om-fg-subtle); }
.mo-list { display: grid; }
.mo-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--om-border-subtle); }
.mo-row:last-child { border-bottom: 0; }
.mo-l { min-width: 0; display: grid; gap: 3px; align-content: start; }
.mo-l b { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mo-l > span { font-size: 12px; color: var(--om-fg-subtle); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mo-l .mo-mb { margin-top: 3px; }
.mo-l .mo-prop { font-family: "OM Mono", ui-monospace, monospace; font-size: 11px; color: var(--om-brand); }
.mo-r { flex: none; display: grid; gap: 5px; justify-items: end; align-content: start; }
.mo-r b { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mo-r b.ok { color: var(--om-ok-s); }
.mo-r .om-pill { min-width: 0; height: 21px; font-size: 11.5px; padding: 0 9px; }
.mo-r .src { font-size: 11.5px; font-weight: 500; padding: 1px 8px; border-radius: 999px; }
.mo-r .src.ag { background: var(--om-tint); color: var(--om-brand-strong); }
.mo-r .src.hu { background: var(--om-bg-muted); color: var(--om-fg-muted); }
.mo-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--om-border-subtle); }
.mo-kpis > div { padding: 12px 16px; display: grid; gap: 2px; }
.mo-kpis > div + div { border-left: 1px solid var(--om-border-subtle); }
.mo-kpis span { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .5px; color: var(--om-fg-subtle); }
.mo-kpis b { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mo-kpis b.bad { color: var(--om-bad); } .mo-kpis b.ok { color: var(--om-ok-s); }
.mo-share { margin: 14px 16px 6px; height: 8px; border-radius: 4px; background: var(--om-bg-muted); overflow: hidden; }
.mo-share span { display: block; height: 100%; background: var(--om-brand); border-radius: 4px; }
.mo-sharel { display: flex; justify-content: space-between; padding: 0 16px 12px; font-size: 12px; color: var(--om-fg-subtle); border-bottom: 1px solid var(--om-border-subtle); }
.mo-post { font-size: 12px !important; color: var(--om-fg) !important; }
.mo-post .om-acct { font-size: 11px; }

/* Hero up to 900 px: compact Accounts Payable panel with live intake instead of a cropped window */
.ha-mob { display: none; }
@media (max-width: 900px) {
  .ha .ha-stage { display: none; }
  .ha { padding-bottom: 0 !important; }
  .ha-mob { display: block; position: relative; width: 100%; max-width: 560px; margin: 28px auto -1px; background: #fff; border: 1px solid #e3ded5; border-bottom: 0; border-radius: 12px 12px 0 0;
    box-shadow: 0 -10px 40px -24px rgba(28,24,19,.35); overflow: hidden; height: 400px; }
  .ha-mob::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 56px; background: linear-gradient(transparent, #fff); pointer-events: none; }
  .hm-h { grid-template-columns: 32px minmax(0, 1fr) auto; }
  .hm-h > b, .hm-h > span:nth-child(3) { grid-column: 2; }
  .hm-h > span:nth-child(3) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .hm-proc { grid-row: 1 / span 2; grid-column: 3; align-self: center; display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border: 1px solid var(--om-border); border-radius: 6px; background: #fff; font-size: 12px; color: var(--om-fg-muted); white-space: nowrap; }
  .hm-proc .om-ic { width: 13px; height: 13px; color: var(--om-brand); }
  .hm-proc b { font-size: 12px; color: var(--om-fg); font-variant-numeric: tabular-nums; }
  .hm-list { display: grid; }
  .hm-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--om-border-subtle); transition: background .6s; }
  .hm-row.hl { background: var(--om-tint-hover); }
  .hm-row.arrive { animation: arrive .6s ease both; }
  .hm-row .mo-l .mo-mb { margin-top: 3px; }
  .hm-step { font-size: 11.5px !important; color: var(--om-brand) !important; min-height: 0; }
  .hm-step:empty { display: none; }
}
