/* Collabot: the homepage section, the /collabot/ page (both standalone, html.x8) and the bands on inner pages
   (.x8-scope, drawn on the 1440px canvas, so those rules use pixel units only). */

/* Shared pieces */
.cb-new { display:inline-block; margin-right:10px; padding:4px 9px; border-radius:99px; background:var(--x-amber, #fff1cc); color:#5b4300; font:700 11px/1 var(--x-body); letter-spacing:.08em; text-transform:uppercase; vertical-align:2px; }
.cb-link { color:var(--x-green); font:600 16px/1.3 var(--x-body); text-decoration:none; }
.cb-link:hover { text-decoration:underline; }
.cb-shot { position:relative; margin:0; }
.cb-shot button { position:relative; display:block; width:100%; padding:0; border:0; background:none; cursor:zoom-in; }
.cb-shot img { display:block; width:100%; height:auto; filter:drop-shadow(0 22px 28px #04201a33) drop-shadow(0 2px 5px #04201a1a); }
/* A panel capture is cut above its message box. The cut edge fades out, and the shadow fades with it: the mask
   covers a box wider than the picture so the shadow is inside it. */
.cb-shot-clip { display:block; margin:-40px -40px 0; padding:40px 40px 0; -webkit-mask-image:linear-gradient(#000 calc(100% - var(--cb-fade, 84px)), #0000); mask-image:linear-gradient(#000 calc(100% - var(--cb-fade, 84px)), #0000); }
.cb-shot figcaption, .cb-film figcaption { margin:12px 0 0; color:var(--x-muted); font-size:13px; line-height:1.45; }
/* A wide page capture (the Hub): framed like a window, its cut edge softened. */
.cb-shot-framed button { overflow:hidden; border:1px solid var(--x-line, #d6e5df); border-radius:20px; background:#fff; box-shadow:0 34px 70px -40px #04201acc, 0 2px 8px #04201a14; }
.cb-shot-framed button::after { content:''; position:absolute; inset:auto 0 0; height:64px; background:linear-gradient(#fff0,#fff); pointer-events:none; }
.cb-shot-framed img { filter:none; }
.cb-shot-framed .cb-shot-clip { margin:0; padding:0; -webkit-mask-image:none; mask-image:none; }
.cb-film { margin:0; }
.cb-film-frame { overflow:hidden; border:1px solid #ffffff2e; border-radius:15px; background:#fff; box-shadow:0 50px 90px -40px #000c, 0 0 0 8px #ffffff0f; }
.cb-film video, .cb-film-frame > img { display:block; width:100%; height:100%; object-fit:cover; }
.cb-film-bar { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; margin:14px 0 0; }
.cb-film-bar figcaption { margin:0; }
.cb-film-toggle { position:relative; flex:none; width:34px; height:34px; border:1px solid #ffffff3d; border-radius:50%; background:#ffffff14; cursor:pointer; }
.cb-film-toggle::before { content:''; position:absolute; inset:10px 11px; border:solid #fff; border-width:0 4px; }
.cb-film-toggle[aria-pressed="true"]::before { inset:9px 10px 9px 13px; border-width:7px 0 7px 11px; border-color:transparent transparent transparent #fff; }
.cb-film-toggle:hover { background:#ffffff2e; }
/* A tall capture opens wider than it sits on the page, and scrolls. */
.x-viewer.is-tall { width:min(780px, 96vw); overflow:auto; }
.x-viewer.is-tall img { max-height:none; }
.x-viewer.is-tall button { position:sticky; float:right; top:0; right:auto; margin:-10px -8px 0 0; z-index:1; }

/* What the person says: one request, shown as their side of the conversation. */
.cb-ask { display:grid; justify-items:start; gap:8px; margin:24px 0 0; }
.cb-ask span { color:var(--x-mint, #8fe0c6); font:600 12px/1 var(--x-body); letter-spacing:.16em; text-transform:uppercase; }
.cb-ask q { max-width:580px; padding:14px 19px; border-radius:20px 20px 20px 6px; background:var(--x-mint, #8fe0c6); color:var(--x-ink, #041b18); font:500 17px/1.45 var(--x-body); quotes:'\201C' '\201D'; box-shadow:0 18px 40px -24px #000a; }
.cb-ask.is-light span { color:var(--x-green); }
.cb-ask.is-light q { background:var(--x-ink); color:#fff; box-shadow:none; }

/* The records one request runs through. */
.cb-chain { margin:26px 0 30px; }
.cb-chain p { margin:0 0 12px; color:#9fbdb4; font:600 12px/1 var(--x-body); letter-spacing:.16em; text-transform:uppercase; }
.cb-chain ol { display:flex; flex-wrap:wrap; gap:10px 0; margin:0; padding:0; list-style:none; }
.cb-chain li { position:relative; display:inline-flex; align-items:center; gap:8px; padding:9px 13px; border:1px solid #ffffff2e; border-radius:12px; background:#ffffff0f; color:#e8f4ef; font:500 14.5px/1.2 var(--x-body); }
.cb-chain li + li { margin-left:28px; }
.cb-chain li + li::before { content:'\2192'; position:absolute; left:-22px; color:var(--x-mint); font-size:16px; }
.cb-chain svg { width:17px; height:17px; color:var(--x-mint); }
.cb-chain.is-light p { color:var(--x-muted); }
.cb-chain.is-light li { border-color:var(--x-line); background:var(--x-paper); color:var(--x-text); }
.cb-chain.is-light svg, .cb-chain.is-light li + li::before { color:var(--x-green); }

/* Homepage: the Collabot section, straight after the customer logos */
.cb-home { position:relative; isolation:isolate; overflow:hidden; padding:84px 0; background:linear-gradient(160deg,#072a25 0%,#041b18 70%); color:#cfe3dc; }
.cb-home::before { content:''; position:absolute; inset:-20% -10% -20% 46%; z-index:-1; background:radial-gradient(closest-side,#8fe0c638,transparent 72%); }
.cb-home-grid { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr); gap:56px; align-items:center; }
.cb-home .x-eyebrow { color:var(--x-mint); }
.cb-home h2 { color:#fff; font-weight:700; font-size:clamp(32px,3.3vw,48px); line-height:1.06; letter-spacing:-.04em; }
/* The gradient is painted only inside the span's own box, and the heading's line height is shorter than the letters
   (Poppins reaches 1.05em above the baseline and 0.36em below it). The padding gives the box the font's full height,
   so no tail or accent is cut off; the equal negative margin leaves the spacing as it was. */
.cb-home h2 span { display:block; margin:-.2em 0; padding:.2em 0; background:linear-gradient(92deg,var(--x-mint) 10%,#e7fff6 90%); -webkit-background-clip:text; background-clip:text; color:transparent; }
.cb-home-lead { margin:20px 0 0; max-width:620px; font-size:18px; line-height:1.6; }
.cb-home .cb-link { color:#e8f4ef; }
.cb-home .cb-link:hover { color:var(--x-mint); }
.cb-home-foot { margin:22px 0 0; max-width:580px; color:#9fbdb4; font-size:14.5px; }
.cb-home-stage { justify-self:center; width:min(100%, 380px); }
.cb-home .cb-film figcaption { color:#9fbdb4; }
.x8-new-pill { display:inline-flex; align-items:center; gap:10px; margin:0 0 20px; padding:6px 14px 6px 6px; border:1px solid #ffffff2e; border-radius:99px; background:#ffffff12; color:#e8f4ef !important; font:500 14.5px/1.3 var(--x-body); text-decoration:none; backdrop-filter:blur(6px); }
.x8-new-pill b { padding:4px 9px; border-radius:99px; background:var(--x-mint); color:var(--x-ink); font:700 11px/1 var(--x-body); letter-spacing:.08em; text-transform:uppercase; }
.x8-new-pill i { color:var(--x-mint); font-style:normal; }
.x8-new-pill:hover { border-color:var(--x-mint); }

/* The Collabot page */
.cb-page section[id], .cb-page aside[id] { scroll-margin-top:84px; }
.cb-page .x-heading h2 span { display:block; }
.cb-hero { padding:112px 0 72px; }
.cb-hero-glow { position:absolute; inset:0; z-index:-1; background:radial-gradient(48% 62% at 78% 46%,#8fe0c63d,transparent 70%), radial-gradient(40% 50% at 8% 8%,#0b4a43,transparent 70%), linear-gradient(180deg,transparent 78%,#041b18 100%); }
.cb-hero-grid { grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr); gap:56px; }
.cb-hero h1 { min-height:0; }
.cb-hero .x-lead { min-height:0; max-width:600px; }
.cb-hero .x-actions { margin-top:30px; }
.cb-hero-note { display:flex; align-items:center; gap:10px; margin:22px 0 0; color:#b9d3ca; font-size:14.5px; }
.cb-hero-note b { display:grid; place-items:center; flex:none; width:22px; height:22px; border-radius:50%; background:#8fe0c626; color:var(--x-mint); font-size:12px; }
.cb-hero-stage { justify-self:center; width:min(100%, 380px); }
.cb-hero .cb-film figcaption { color:#9fbdb4; }

.cb-levels, .cb-steps, .cb-work, .cb-help, .cb-notices, .cb-control, .cb-family, .cb-faq { padding:80px 0; }

/* Three steps up from the ordinary: the first is deliberately plain, the last is the point. */
.cb-levels { background:var(--x-paper); }
.cb-level-list { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,.88fr) minmax(0,1.32fr); gap:18px; align-items:end; margin:0; padding:0; list-style:none; }
.cb-level { display:grid; align-content:start; gap:10px; padding:26px; border:1px solid var(--x-line); border-radius:22px; background:#fff; }
.cb-level-tag { display:flex; align-items:center; gap:8px; margin:0; color:var(--x-muted); font:600 12px/1.2 var(--x-body); letter-spacing:.14em; text-transform:uppercase; }
.cb-level-tag svg { width:18px; height:18px; }
.cb-level h3 { color:var(--x-text); font-size:24px; line-height:1.2; letter-spacing:-.02em; }
.cb-level > p:not(.cb-level-tag) { margin:0; color:var(--x-muted); font-size:16px; line-height:1.55; }
.cb-asks { display:grid; justify-items:start; gap:8px; margin:6px 0 0; padding:0; list-style:none; }
.cb-asks q { display:inline-block; padding:10px 15px; border:1px solid var(--x-line); border-radius:16px 16px 16px 5px; background:#f3f8f6; color:var(--x-text); font:500 15px/1.4 var(--x-body); quotes:'\201C' '\201D'; }
.cb-level .cb-level-foot { margin-top:6px; font-size:14.5px; }
.cb-level-answers { border-color:#dde5e2; background:#eaefed; }
.cb-level-answers h3 { color:#51665f; font-size:21px; }
.cb-level-answers .cb-asks q { background:#f4f7f6; color:#51665f; font-size:14.5px; }
.cb-level-does { padding:34px; border-color:#041b18; background:linear-gradient(160deg,#0e3a35 0%,#041b18 100%); box-shadow:0 36px 70px -44px #04201a; }
.cb-level-does .cb-level-tag { color:var(--x-mint); }
.cb-level-does h3 { color:#fff; font-size:32px; }
.cb-level-does > p:not(.cb-level-tag) { color:#cfe3dc; font-size:17px; }
.cb-level-does .cb-asks q { border-color:transparent; background:var(--x-mint); color:var(--x-ink); font-size:16px; }
.cb-level-does .cb-level-foot { color:#fff !important; font-weight:600; font-size:16px; }

/* One request followed through. On a wide screen the chosen step's screen sits beside the list. */
.cb-steps { background:#fff; }
.cb-steps .cb-chain { margin:0 0 38px; text-align:center; }
.cb-steps .cb-chain ol { justify-content:center; }
.cb-flow { display:grid; gap:14px; margin:0; padding:0; list-style:none; }
.cb-flow-step { display:grid; grid-template-columns:44px minmax(0,1fr); gap:16px; width:100%; padding:20px 22px; border:1px solid var(--x-line); border-radius:20px; background:#fff; color:inherit; font:inherit; text-align:left; }
.cb-flow-step i { display:grid; place-items:center; width:44px; height:44px; border-radius:50%; background:var(--x-ink); color:var(--x-mint); font:700 18px/1 var(--x-head); font-style:normal; }
.cb-flow-step b { display:block; color:var(--x-text); font:600 21px/1.25 var(--x-head); letter-spacing:-.015em; }
.cb-flow-step q { display:inline-block; margin-top:10px; padding:10px 15px; border-radius:16px 16px 16px 5px; background:var(--x-ink); color:#fff; font:500 15.5px/1.4 var(--x-body); quotes:'\201C' '\201D'; }
.cb-flow-step small { display:block; margin-top:8px; color:var(--x-muted); font-size:15.5px; line-height:1.5; }
.cb-flow-shot { margin:4px auto 18px; width:min(100%, 420px); }
.cb-flow-shot figcaption, .cb-tabpanel .cb-shot figcaption, .cb-help .cb-shot figcaption { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.cb-steps-foot { margin:36px auto 0; max-width:720px; padding:14px 20px; border:1px dashed #9fc4b8; border-radius:14px; color:var(--x-muted); font-size:15.5px; text-align:center; }
.cb-screens-note { margin:18px 0 0; color:var(--x-muted); font-size:13.5px; text-align:center; }
/* With the script running, one step is open at a time: its screen sits beside the list on a wide screen and under
   its own step on a narrow one. Without it, every step shows its screen. */
.cb-flow.is-ready .cb-flow-step { cursor:pointer; transition:border-color .2s, box-shadow .2s, background .2s; }
.cb-flow.is-ready .cb-flow-step:hover { border-color:var(--x-green); }
.cb-flow.is-ready .cb-flow-item:not(.is-active) .cb-flow-step i { background:#eaf6f1; color:var(--x-green); }
.cb-flow.is-ready .cb-flow-item.is-active .cb-flow-step { border-color:var(--x-ink); background:var(--x-paper); box-shadow:0 0 0 1px var(--x-ink), 0 26px 46px -36px #04201a; }
.cb-flow.is-ready .cb-flow-shot { display:none; }
.cb-flow.is-ready .cb-flow-item.is-active .cb-flow-shot { display:block; }
.cb-flow.is-ready .cb-flow-item.is-chosen .cb-flow-shot { animation:cb-in .35s ease both; }
@media (min-width:1061px) {
    .cb-flow.is-ready { grid-template-columns:minmax(0,1fr) minmax(0,420px); grid-template-rows:repeat(var(--cb-flow-rows, 5),auto) 1fr; column-gap:72px; align-items:start; }
    .cb-flow.is-ready .cb-flow-item { display:contents; }
    .cb-flow.is-ready .cb-flow-step { grid-column:1; }
    .cb-flow.is-ready .cb-flow-shot { grid-column:2; grid-row:1 / -1; position:sticky; top:104px; width:100%; margin:0; }
}
@media (max-width:1060px) {
    .cb-flow.is-ready .cb-flow-step { grid-template-columns:44px minmax(0,1fr) 14px; }
    .cb-flow.is-ready .cb-flow-step::after { content:''; align-self:start; width:9px; height:9px; margin-top:14px; border:solid var(--x-green); border-width:0 2px 2px 0; transform:rotate(45deg); transition:transform .2s; }
    .cb-flow.is-ready .cb-flow-item.is-active .cb-flow-step::after { transform:translateY(4px) rotate(-135deg); }
    .cb-flow.is-ready .cb-flow-item.is-active .cb-flow-shot { margin-top:18px; }
}

/* Connected pieces of work, one tab each. */
/* Inside Collabit: the panel beside a real record, before and after approval (two wide captures behind two tabs) */
.cb-inside { padding:80px 0; background:var(--x-paper); }
.cb-inside-tabs .cb-tablist { margin-bottom:22px; }
.cb-inside-tabs .cb-tablist button i { display:grid; place-items:center; width:24px; height:24px; border-radius:50%; background:#eaf6f1; color:var(--x-green); font:700 12.5px/1 var(--x-head); font-style:normal; }
.cb-inside-tabs .cb-tablist button[aria-selected="true"] i { background:var(--x-mint); color:var(--x-ink); }
.js .cb-inside-panel[hidden], .js .cb-inside-panel[data-cb-later] { display:none; }
.cb-inside-panel + .cb-inside-panel { margin-top:28px; }
.js .cb-inside-panel + .cb-inside-panel { margin-top:0; }
.cb-inside-panel.is-shown { animation:cb-in .35s ease both; }
.cb-inside-panel .cb-shot figcaption { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.cb-shot-app button::after { display:none; }
.cb-inside-copy { margin:18px auto 0; max-width:760px; color:var(--x-muted); font-size:17px; line-height:1.55; text-align:center; }

/* The numbers: director questions with their charts. A dark ground, so the white captures stand out. The questions
   reuse the walkthrough's list: one open at a time, its screen beside it. */
.cb-numbers { position:relative; isolation:isolate; overflow:hidden; padding:88px 0; background:linear-gradient(170deg,#072a25 0%,#041b18 62%); color:#cfe3dc; }
.cb-numbers::before { content:''; position:absolute; inset:-12% 42% 46% -12%; z-index:-1; background:radial-gradient(closest-side,#8fe0c626,transparent 72%); }
.cb-numbers .x-eyebrow { color:var(--x-mint); }
.cb-numbers .x-heading h2 { color:#fff; }
.cb-numbers .x-heading h2 span { color:var(--x-mint); }
.cb-numbers .x-heading p:not(.x-eyebrow) { margin-inline:auto; color:#b9d3ca; }
.cb-numbers .cb-flow-step { border-color:#ffffff1f; background:linear-gradient(160deg,#0e3a35 0%,#072723 100%); }
.cb-numbers .cb-flow-step b { color:#fff; }
.cb-numbers .cb-flow-step small { color:#b9d3ca; }
.cb-numbers .cb-flow-step q { background:var(--x-mint); color:var(--x-ink); }
.cb-numbers .cb-flow-step i, .cb-numbers .cb-flow.is-ready .cb-flow-item:not(.is-active) .cb-flow-step i { background:#8fe0c624; color:var(--x-mint); }
.cb-numbers .cb-flow-step i svg { width:22px; height:22px; }
.cb-numbers .cb-flow.is-ready .cb-flow-step:hover { border-color:var(--x-mint); }
.cb-numbers .cb-flow.is-ready .cb-flow-item.is-active .cb-flow-step { border-color:var(--x-mint); background:linear-gradient(160deg,#124840 0%,#0a302b 100%); box-shadow:0 0 0 1px var(--x-mint), 0 30px 50px -36px #000; }
.cb-numbers .cb-flow.is-ready .cb-flow-item.is-active .cb-flow-step i { background:var(--x-mint); color:var(--x-ink); }
.cb-numbers .cb-flow.is-ready .cb-flow-step::after { border-color:var(--x-mint); }
@media (min-width:1061px) { .cb-numbers .cb-flow.is-ready { grid-template-rows:repeat(var(--cb-flow-rows, 3),auto); align-items:center; } }   /* three questions, spread down the height of the screen beside them */
.cb-numbers .cb-flow-shot { --cb-fade:22px; }   /* the chart's own buttons sit at the cut edge: keep them readable */
.cb-numbers .cb-shot img { filter:drop-shadow(0 30px 40px #0009); }
.cb-numbers .cb-shot figcaption { color:#9fbdb4; text-align:center; }
.cb-shot-wide { margin:56px auto 0; max-width:1080px; }
.cb-numbers .cb-shot-framed button { border-color:#ffffff24; box-shadow:0 40px 80px -40px #000; }
.cb-numbers .cb-shot-framed button::after { display:none; }
.cb-numbers .cb-shot-framed img { filter:none; }
.cb-number-points { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; margin:44px 0 0; padding:0; list-style:none; }
.cb-number-points li { padding:22px; border:1px solid #ffffff1f; border-radius:18px; background:linear-gradient(160deg,#0e3a35 0%,#072723 100%); }
.cb-number-points li > span { display:grid; place-items:center; width:44px; height:44px; border-radius:13px; background:#8fe0c624; color:var(--x-mint); }
.cb-number-points svg { width:23px; height:23px; }
.cb-number-points h3 { margin-top:14px; color:#fff; font-size:18px; line-height:1.3; letter-spacing:-.01em; }
.cb-number-points p { margin:6px 0 0; color:#b9d3ca; font-size:15.5px; line-height:1.55; }
.cb-numbers .cb-small { color:#9fbdb4; }

/* The smaller jobs, listed after the kinds of work */
.cb-also { margin:34px 0 0; }
.cb-also p { margin:0 0 14px; color:var(--x-muted); font:600 12px/1 var(--x-body); letter-spacing:.16em; text-transform:uppercase; }
.cb-also ul { display:flex; flex-wrap:wrap; gap:8px; margin:0; padding:0; list-style:none; }
.cb-also li { position:relative; padding:9px 15px 9px 37px; border:1px solid var(--x-line); border-radius:99px; background:#fff; color:var(--x-text); font:500 15px/1.3 var(--x-body); }
.cb-also li::before { content:'\2713'; position:absolute; left:12px; top:50%; display:grid; place-items:center; width:17px; height:17px; margin-top:-8.5px; border-radius:50%; background:var(--x-ink); color:var(--x-mint); font-size:10px; font-weight:700; }

.cb-work { background:var(--x-paper); }
.cb-tablist { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 28px; }
.cb-tablist button { display:inline-flex; align-items:center; gap:9px; padding:11px 17px; border:1px solid var(--x-line); border-radius:99px; background:#fff; color:var(--x-text); font:600 15px/1.2 var(--x-body); cursor:pointer; transition:background .2s, color .2s, border-color .2s; }
.cb-tablist svg { width:19px; height:19px; color:var(--x-green); }
.cb-tablist button:hover { border-color:var(--x-green); }
.cb-tablist button[aria-selected="true"] { border-color:var(--x-ink); background:var(--x-ink); color:#fff; }
.cb-tablist button[aria-selected="true"] svg { color:var(--x-mint); }
@media (min-width:1061px) { .cb-tablist { display:grid; grid-template-columns:repeat(4,max-content); } }   /* eight kinds of work: two even rows */
.cb-tabpanel { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,400px); gap:64px; align-items:center; padding:44px 52px 0; border:1px solid var(--x-line); border-radius:28px; background:#fff; overflow:hidden; }
.cb-tabpanel.is-text { padding-bottom:44px; }
.cb-tabpanel.is-text .cb-tab-copy { padding-bottom:0; }
/* A piece of work with no screen yet: the records it runs through, as a column of steps. */
.cb-tab-chain { padding:26px 28px; border:1px solid var(--x-line); border-radius:22px; background:var(--x-paper); }
.cb-tab-chain p { margin:0 0 18px; color:var(--x-muted); font:600 12px/1 var(--x-body); letter-spacing:.16em; text-transform:uppercase; }
.cb-tab-chain ol { display:grid; gap:26px; margin:0; padding:0; list-style:none; }
.cb-tab-chain li { position:relative; display:flex; align-items:center; gap:14px; color:var(--x-text); font:600 17px/1.3 var(--x-head); letter-spacing:-.01em; }
.cb-tab-chain li span { display:grid; place-items:center; flex:none; width:46px; height:46px; border-radius:14px; background:var(--x-ink); color:var(--x-mint); }
.cb-tab-chain li + li::before { content:''; position:absolute; left:22px; top:-22px; width:2px; height:18px; border-radius:2px; background:var(--x-green); }
.cb-tab-chain svg { width:23px; height:23px; }
.cb-tab-copy { padding-bottom:44px; }
.cb-tab-copy .cb-chain { margin:26px 0 0; }
.js .cb-tabpanel[hidden], .js .cb-tabpanel[data-cb-later] { display:none; }
.cb-tabpanel + .cb-tabpanel { margin-top:20px; }
.js .cb-tabpanel + .cb-tabpanel { margin-top:0; }
.cb-tabpanel.is-shown { animation:cb-in .35s ease both; }
.cb-tab-kicker { display:none; align-items:center; gap:8px; margin:0 0 10px; color:var(--x-green); font:600 13px/1.3 var(--x-body); letter-spacing:.14em; text-transform:uppercase; }
.cb-tab-kicker svg { width:18px; height:18px; }
html:not(.js) .cb-tablist { display:none; }
html:not(.js) .cb-tab-kicker { display:flex; }
.cb-tab-copy h3 { color:var(--x-text); font-size:clamp(26px,2.5vw,34px); line-height:1.12; letter-spacing:-.03em; text-wrap:balance; }
.cb-tab-copy > p:not(.cb-ask):not(.cb-tab-kicker) { margin:14px 0 0; color:var(--x-muted); font-size:17px; line-height:1.6; }
.cb-tabpanel .cb-shot { align-self:end; justify-self:end; width:min(100%, 400px); }

.cb-split { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,400px); gap:72px; align-items:center; }
.cb-help { padding-bottom:0; background:linear-gradient(135deg,#e6f6f0 0%,#f6fbf9 60%); overflow:hidden; }
.cb-help .cb-split > div { padding-bottom:80px; }
.cb-help .cb-shot { align-self:end; }
.cb-help h2, .cb-control h2 { color:var(--x-text); font-weight:700; font-size:clamp(32px,3.6vw,52px); line-height:1.05; letter-spacing:-.038em; }
.cb-help h2 span { color:var(--x-green); }
.cb-lead { margin:18px 0 0; max-width:600px; color:var(--x-muted); font-size:18px; line-height:1.6; }
.cb-ticks { display:grid; gap:10px; margin:22px 0 0; padding:0; list-style:none; color:var(--x-text); font:500 16.5px/1.4 var(--x-body); }
.cb-ticks li { position:relative; padding-left:34px; }
.cb-ticks li::before { content:'\2713'; position:absolute; left:0; top:-1px; display:grid; place-items:center; width:24px; height:24px; border-radius:50%; background:var(--x-ink); color:var(--x-mint); font-size:12px; font-weight:700; }
.cb-help .cb-shot { justify-self:end; width:min(100%, 400px); }

.cb-notices { background:#fff; }
.cb-notices .cb-shot figcaption { text-align:center; }
.cb-notice-list { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; margin:34px 0 0; padding:0; list-style:none; }
.cb-notice-list li { display:grid; align-content:start; gap:14px; padding:22px; border:1px solid var(--x-line); border-radius:18px; background:#fff; }
.cb-notice-list li > span, .cb-control-list li > span, .cb-family-list li > span { display:grid; place-items:center; flex:none; width:44px; height:44px; border-radius:13px; background:#eaf6f1; color:var(--x-green); }
.cb-notice-list svg, .cb-control-list svg, .cb-family-list svg { width:23px; height:23px; }
.cb-notice-list h3 { color:var(--x-text); font-size:18px; line-height:1.3; letter-spacing:-.01em; }
.cb-notice-list p { margin:4px 0 0; color:var(--x-muted); font-size:15.5px; line-height:1.5; }
.cb-small { margin:26px 0 0; color:var(--x-muted); font-size:14.5px; }
.cb-centred { text-align:center; }

.cb-control { background:var(--x-ink); color:#cfe3dc; }
.cb-control .x-eyebrow { color:var(--x-mint); }
.cb-control .x-heading h2 { color:#fff; }
.cb-control .x-heading h2 span { color:var(--x-mint); }
.cb-control .x-heading p:not(.x-eyebrow) { margin-inline:auto; color:#b9d3ca; }
.cb-control-grid { display:grid; grid-template-columns:minmax(0,380px) minmax(0,1fr); gap:64px; align-items:center; }
.cb-control .cb-shot img { filter:drop-shadow(0 30px 40px #0009); }
.cb-control .cb-shot figcaption { color:#9fbdb4; text-align:center; }
.cb-control-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin:0; padding:0; list-style:none; }
.cb-control-list li { padding:24px; border:1px solid #ffffff1f; border-radius:20px; background:linear-gradient(160deg,#0e3a35 0%,#072723 100%); }
.cb-control-list li > span { background:#8fe0c624; color:var(--x-mint); }
.cb-control-list h3 { margin-top:14px; color:#fff; font-size:19px; line-height:1.3; letter-spacing:-.01em; }
.cb-control-list p { margin:6px 0 0; color:#b9d3ca; font-size:15.5px; line-height:1.55; }
.cb-control .cb-small { color:#9fbdb4; }

.cb-family { background:var(--x-paper); }
.cb-family-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin:0; padding:0; list-style:none; }
.cb-family-list li { display:grid; align-content:start; gap:8px; padding:26px; border:1px solid var(--x-line); border-radius:22px; background:#fff; }
.cb-family-list li.is-current { border-color:var(--x-ink); box-shadow:0 0 0 1px var(--x-ink); }
.cb-family-list li.is-current > span { background:var(--x-ink); color:var(--x-mint); }
.cb-family-list h3 { margin-top:6px; color:var(--x-text); font-size:22px; letter-spacing:-.02em; }
.cb-family-list p { margin:0; color:var(--x-muted); font-size:16px; line-height:1.55; }
.cb-family-list a { margin-top:6px; color:var(--x-green); font:600 15.5px/1.3 var(--x-body); text-decoration:none; }
.cb-family-list a:hover { text-decoration:underline; }
.cb-family-list li > b { justify-self:start; margin-top:6px; padding:5px 11px; border-radius:99px; background:#eaf6f1; color:#0b4a43; font:600 12.5px/1.2 var(--x-body); }
.cb-family-note { margin:24px 0 0; padding:18px 22px; border-radius:16px; background:#fff; border:1px solid var(--x-line); color:var(--x-muted); font-size:16px; }
.cb-family-note b { color:var(--x-text); }
.cb-family-note span { display:inline-block; margin-left:4px; color:var(--x-green); font-weight:600; }

.cb-enterprise { padding:30px 0; background:var(--x-ink); color:#cfe3dc; }
.cb-enterprise-row { display:flex; align-items:center; justify-content:space-between; gap:14px 40px; }
.cb-enterprise h2 { color:#fff; font:600 20px/1.3 var(--x-head); letter-spacing:-.01em; }
.cb-enterprise p { margin:6px 0 0; max-width:820px; font-size:16px; }
.cb-enterprise a { flex:none; color:var(--x-mint); font-weight:600; text-decoration:none; }
.cb-enterprise a:hover { text-decoration:underline; }

.cb-faq { background:#fff; }
.cb-faq-grid { display:grid; grid-template-columns:minmax(0,.62fr) minmax(0,1fr); gap:56px; align-items:start; }
.cb-faq .x-heading { margin:0; }
.cb-qa { display:grid; gap:10px; }
.cb-qa details { border:1px solid var(--x-line); border-radius:16px; background:#fff; }
.cb-qa summary { position:relative; padding:18px 54px 18px 22px; color:var(--x-text); font:600 17.5px/1.35 var(--x-head); letter-spacing:-.01em; list-style:none; cursor:pointer; }
.cb-qa summary::-webkit-details-marker { display:none; }
.cb-qa summary::after { content:''; position:absolute; right:24px; top:50%; width:9px; height:9px; border:solid var(--x-green); border-width:0 2px 2px 0; transform:translateY(-70%) rotate(45deg); transition:transform .2s; }
.cb-qa details[open] summary::after { transform:translateY(-30%) rotate(-135deg); }
.cb-qa details > div { padding:0 22px 20px; color:var(--x-muted); font-size:16.5px; line-height:1.6; }
.cb-qa details p { margin:0; }
.cb-qa a { color:var(--x-green); font-weight:600; }

.cb-close { padding:72px 0 8px; background:linear-gradient(180deg,#f3f8f6 0%,#fff 100%); }
.cb-close .x-heading { margin-bottom:28px; }
.cb-close .x-heading p:not(.x-eyebrow) { margin-inline:auto; }
.cb-consultation { padding:24px 0 72px; }

@keyframes cb-in { from { opacity:0; translate:0 12px; } to { opacity:1; translate:0 0; } }

@media (max-width:1060px) {
    .cb-home-grid, .cb-hero-grid, .cb-split, .cb-control-grid, .cb-faq-grid { grid-template-columns:1fr; gap:36px; }
    .cb-help .cb-split > div { padding-bottom:0; }
    .cb-control .cb-shot { justify-self:center; width:min(100%, 380px); }
    .cb-notice-list, .cb-number-points { grid-template-columns:1fr 1fr; }
    .cb-home-stage, .cb-hero-stage { justify-self:center; }
    .cb-level-list { grid-template-columns:1fr; align-items:stretch; }
    .cb-tabpanel { grid-template-columns:1fr; gap:28px; padding:30px 30px 0; }
    .cb-tabpanel.is-text { padding-bottom:30px; }
    .cb-tab-copy { padding-bottom:0; }
    .cb-tabpanel .cb-shot, .cb-help .cb-shot { justify-self:center; }
    .cb-family-list { grid-template-columns:1fr; }
    .cb-enterprise-row { flex-wrap:wrap; }
    .cb-flow { max-width:620px; margin-inline:auto; }
}
@media (max-width:720px) {
    .cb-shot-clip { margin:-14px -14px 0; padding:14px 14px 0; }
    .cb-home, .cb-numbers, .cb-inside { padding:60px 0; }
    .cb-inside-copy { font-size:16px; text-align:left; }
    .cb-number-points { grid-template-columns:1fr; gap:12px; margin-top:30px; }
    .cb-number-points li { display:grid; grid-template-columns:44px minmax(0,1fr); column-gap:14px; padding:18px; }
    .cb-number-points li > span { grid-row:1 / span 2; }
    .cb-number-points h3 { margin-top:0; }
    .cb-shot-wide { margin-top:32px; }
    .cb-also li { font-size:14.5px; }
    .cb-hero { padding:104px 0 60px; }
    .cb-levels, .cb-steps, .cb-work, .cb-help, .cb-notices, .cb-control, .cb-family, .cb-faq { padding:60px 0; }
    .cb-level, .cb-level-does { padding:22px; }
    .cb-level-does h3 { font-size:27px; }
    .cb-ask q { font-size:16px; }
    .cb-chain li { padding:8px 11px; font-size:13.5px; }
    .cb-chain li + li { margin-left:22px; }
    .cb-chain li + li::before { left:-18px; }
    .cb-steps .cb-chain ol { justify-content:flex-start; }
    .cb-steps .cb-chain { text-align:left; }
    .cb-flow-step { grid-template-columns:38px minmax(0,1fr); gap:13px; padding:17px; }
    .cb-flow.is-ready .cb-flow-step { grid-template-columns:38px minmax(0,1fr) 14px; }
    .cb-flow-step i { width:38px; height:38px; font-size:16px; }
    .cb-tablist { flex-wrap:nowrap; margin-inline:-16px; padding:0 16px 6px; overflow-x:auto; scrollbar-width:none; }
    .cb-tablist::-webkit-scrollbar { display:none; }
    .cb-tablist button { flex:none; }
    .cb-tabpanel { padding:22px 18px 0; border-radius:22px; }
    .cb-tabpanel.is-text { padding-bottom:22px; }
    .cb-notice-list { grid-template-columns:1fr; }
    .cb-control-list { grid-template-columns:1fr; }
    .cb-close { padding-top:56px; }
}
@media (prefers-reduced-motion:reduce) {
    .cb-tabpanel.is-shown, .cb-inside-panel.is-shown, .cb-flow.is-ready .cb-flow-item.is-chosen .cb-flow-shot { animation:none !important; }
}

/* Inner pages (desktop canvas): the Collabot band and Enterprise AI integration. The shared section spacing
   (staging-prototypes.css) zeroes a section's own vertical padding, so the padding is on the inner row. */
.x8-scope.cb-band { background:#041b18; color:#cfe3dc; }
.cb-band-row { display:flex; align-items:center; gap:22px; padding:26px 0; }
.cb-band-icon { display:grid; place-items:center; flex:none; width:54px; height:54px; border-radius:16px; background:#8fe0c624; color:#8fe0c6; }
.cb-band-icon svg { width:28px; height:28px; }
.cb-band-row > div { flex:1; }
.x8-scope .cb-band-title { margin:0; color:#fff; font:600 21px/1.3 var(--x-head); letter-spacing:-.01em; }
.x8-scope .cb-band-copy { margin:4px 0 0; color:#b9d3ca; font-size:16px; line-height:1.5; }
.x8-scope.cb-band .x-btn { flex:none; }
.x8-scope.cb-mcp { background:#f3f8f6; }
.cb-mcp-grid { display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; padding:64px 0; }
.x8-scope .cb-mcp-lead { margin:16px 0 0; color:#51665f; font-size:18px; line-height:1.6; }
.x8-scope .cb-mcp-actions { display:flex; flex-wrap:wrap; align-items:center; gap:14px 26px; margin:26px 0 0; }
.cb-mcp-points { display:grid; gap:12px; margin:0; padding:0; list-style:none; }
.cb-mcp-points li { display:flex; gap:16px; padding:18px 20px; border:1px solid #d6e5df; border-radius:18px; background:#fff; }
.cb-mcp-points svg { flex:none; width:44px; height:44px; padding:10px; border-radius:13px; background:#eaf6f1; color:#007b67; }
.cb-mcp-points span { color:#51665f; font-size:15.5px; line-height:1.5; }
.cb-mcp-points b { display:block; color:#0f2a3f; font:600 17px/1.3 var(--x-head); }
.cb-mcp-points a { color:#007b67; font-weight:600; }

/* Collabot on the Collabit AI overview (desktop canvas). */
.x8-scope.cb-spot { background:linear-gradient(160deg,#072a25 0%,#041b18 70%); color:#cfe3dc; }
.cb-spot-grid { display:grid; grid-template-columns:1fr 440px; gap:72px; align-items:center; padding:72px 0; }
.x8-scope.cb-spot .x-eyebrow { color:#8fe0c6; }
.x8-scope.cb-spot h2 { margin:0; color:#fff; font-weight:700; font-size:48px; line-height:1.06; letter-spacing:-.038em; }
.x8-scope.cb-spot h2 span { display:block; color:#8fe0c6; }
.x8-scope .cb-spot-lead { margin:18px 0 0; max-width:640px; font-size:18px; line-height:1.6; }
.x8-scope.cb-spot .cb-ask { margin-top:22px; }
.cb-spot-points { display:grid; gap:12px; margin:26px 0 0; padding:0; list-style:none; }
.cb-spot-points li { display:flex; gap:14px; align-items:flex-start; }
.cb-spot-points svg { flex:none; width:42px; height:42px; padding:10px; border-radius:13px; background:#8fe0c624; color:#8fe0c6; }
.cb-spot-points span { color:#b9d3ca; font-size:15.5px; line-height:1.5; }
.cb-spot-points b { display:block; color:#fff; font:600 17px/1.3 var(--x-head); }
.x8-scope .cb-spot-actions { display:flex; flex-wrap:wrap; align-items:center; gap:14px 26px; margin:28px 0 0; }
.x8-scope.cb-spot .cb-link { color:#e8f4ef; }
.x8-scope.cb-spot .cb-shot figcaption { color:#9fbdb4; }
.cb-spot-shot img { filter:drop-shadow(0 40px 50px #000a); }
@media (max-width:900px) {
    .cb-band-row { flex-wrap:wrap; }
    .cb-mcp-grid, .cb-spot-grid { grid-template-columns:1fr; gap:32px; padding:48px 0; }
    .x8-scope.cb-spot h2 { font-size:34px; }
    .cb-spot-shot { max-width:440px; margin-inline:auto; }
}
