/* V7 homepage: Single Brain dark chapter (#p-home-sb). Ported from the V7 prototype src/css/09-home-sb.css.
   Removed as review-only / retired: the staircase (home-sb-stairs/cells/lbls), the "three ways" tab row (.hsb-b, ways = b),
   the "Run by" chip (.hsb-run) and the "current" copy (.sbv-cur). */

/* live theme leaks (main-home-v3.css: Meyer reset font:inherit on b/strong/em, strong font-family, svg 1em box, link colours) */
:where(#p-home-sb) :is(b,strong){font-weight:bolder;font-family:inherit}
:where(#p-home-sb) em{font-style:italic}
:where(#p-home-sb) svg{width:auto;height:auto;display:inline;position:static;vertical-align:baseline}
:where(#p-home-sb) img{max-width:none}
:where(#p-home-sb) a:hover{text-decoration:none}
:where(#p-home-sb) ul{list-style:none}


#p-home-sb{overflow-x:clip;
  /* the Slack window's own palette (light defaults, overridden below by the dark glass the band always uses) */
  --w-frame:#F2F1EE;--w-pane:#FFFFFF;--w-edge:#E3E1DC;--w-line:#EBE9E4;--w-card:#F7F6F3;--w-card-line:#ECE9E3;
  --w-ink:#1D1C1D;--w-ink-2:#3A3A3E;--w-mute:#5E5E65;--w-app:#EBEBEB;--w-ws:#E6E4DF;--w-hover:rgba(11,11,12,.045);
  --w-men:#1264A3;--w-men-bg:#E8F5FA;--w-hot:#C45B26;--w-op:#F7CDB6;
  --w-ok:#17804A;--w-ok-bg:#E6F4EC;--w-ok-line:#BFE3CD;--w-ok-row:#F3FAF6;
  --w-shadow:0 24px 48px -34px rgba(11,11,12,.22);--carry:rgba(196,91,38,.5);
  /* board refresh 10-22: chrome tokens the dark variants set (defaults keep the light window unchanged) */
  --w-rad:var(--r-win);--w-tbar:transparent;--w-side:transparent;--w-blur:none;--w-ring:none;--w-glow:none;
  --w-tb-line:none;--w-tl1:#FF5F57;--w-tl2:#FEBC2E;--w-tl3:#28C840;--w-tl-s:12px;--w-ws-line:transparent;
  --w-act:var(--w-pane);--w-act-ink:var(--w-ink);--w-av-bg:#1A1816}
/* dark chapter: AUBERGINE GLASS, locked by Kriste 10-23 (comment 5a057b44: the board "disappears too much into the
   background", then "a little color, like the Slack colors of purple, but keep it dark and quite transparent").
   Translucent Slack aubergine chrome (title bar + sidebar), a near-black pane with a violet tint, a 24px backdrop blur
   over a soft aubergine glow (with a whisper of SG orange), a gradient hairline edge, quiet monochrome window dots,
   a lilac active channel. Purple as tint and glow, never a block. The lift / aurora / classic aubergine / current
   variants and their review option were removed 10-23.
   V6 (Chris D 10-29: the page-wide flip "kinda gives me a headache"): no flip. The section is its own full-width dark
   band (.sg-dark on the part) whose edges scroll with the page, on every device, so the glass is always on. */
#p-home-sb.sg-dark{border-radius:0;background-image:none;overflow:clip}  /* clip both edges: the window shadow and glow stay inside the band (overflow:clip keeps the sticky window working) */
#p-home-sb{
  --w-frame:rgba(26,15,30,.32);--w-tbar:rgba(82,28,84,.54);--w-side:rgba(60,18,62,.46);--w-pane:rgba(17,12,21,.66);
  --w-edge:rgba(255,255,255,.05);--w-line:rgba(255,255,255,.07);--w-card:rgba(255,255,255,.045);--w-card-line:rgba(255,255,255,.1);
  --w-ink:#F7F4FB;--w-ink-2:#DDD6E8;--w-mute:#B1A8C3;--w-app:rgba(255,255,255,.1);--w-ws:rgba(255,255,255,.08);--w-ws-line:rgba(255,255,255,.1);
  --w-hover:rgba(255,255,255,.06);--w-act:rgba(168,104,170,.3);--w-act-ink:#FFFFFF;
  --w-men:#93D2F6;--w-men-bg:rgba(29,155,209,.17);--w-hot:#F4B544;--w-op:rgba(244,181,68,.45);
  --w-ok:#6FD8A0;--w-ok-bg:rgba(31,164,99,.14);--w-ok-line:rgba(31,164,99,.42);--w-ok-row:rgba(31,164,99,.08);
  --w-shadow:0 60px 120px -48px rgba(0,0,0,.8),0 0 110px -30px rgba(122,40,128,.55);
  --w-rad:14px;--w-blur:blur(24px) saturate(150%);
  --w-ring:linear-gradient(180deg,rgba(255,255,255,.2),rgba(255,255,255,.07) 38%,rgba(255,255,255,.04));
  --w-tb-line:inset 0 1px 0 rgba(255,255,255,.09);--w-tl1:rgba(255,255,255,.22);--w-tl2:rgba(255,255,255,.22);--w-tl3:rgba(255,255,255,.22);--w-tl-s:10px;
  --w-glow:radial-gradient(56% 50% at 56% 46%,rgba(124,38,130,.7),rgba(124,38,130,0) 74%),radial-gradient(30% 28% at 80% 76%,rgba(242,112,56,.22),rgba(242,112,56,0) 74%);
  --w-av-bg:rgba(255,255,255,.07);--carry:rgba(244,181,68,.55)}
#p-home-sb h2,#p-home-sb h3,#p-home-sb p{margin:0}
#p-home-sb button{background:none;border:0;padding:0;cursor:pointer;text-align:left}
#p-home-sb ol{list-style:none;margin:0;padding:0}

/* ---------- the chapter: one headline, then three beats beside one sticky stage ---------- */
#p-home-sb .home-sb-ch{padding-block:var(--sec)}  /* V6: the band's own rhythm; the V5 air after the finale was for the flip */
#p-home-sb .home-sb-head{display:grid;gap:22px}
#p-home-sb .home-sb-h2{text-wrap:balance}  /* 10-28: the de-AI heading is a full sentence; nowrap ran it off the page (Kriste) */
#p-home-sb .home-sb-h2 .sg-mute2{display:block}
#p-home-sb .home-sb-lede{max-width:32em;color:var(--ink-2)}
#p-home-sb .home-sb-body{margin-top:clamp(40px,4cqi,64px)}
/* desktop, V6 (Chris D 10-29: "instead of scrolling the page, it scrolls to the next bullet point while the page stays
   stationary"): nothing holds the page. The three steps are ordinary text that scrolls past, all open, the active one in
   full ink; only the Slack window is sticky beside them and follows the step that crosses 62% of the screen. Steps 1-2 get
   ~34% of a screen each, step 3 only its text (no empty space under the last step), joined by the rail. Replaces the V5 1650px pin. */
#p-home-sb .home-sb-track{--sb-pin:520px;position:relative}
#p-home-sb .home-sb-pin{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:0 clamp(32px,5cqi,88px);align-items:stretch}

#p-home-sb .home-sb-beats{position:relative;padding-left:40px}
#p-home-sb .home-sb-beats::before{content:"";position:absolute;left:6px;top:var(--rail-t,26px);height:var(--rail-h,0px);width:1px;background:var(--line);transition:height .45s var(--ease)}
#p-home-sb .home-sb-fill{position:absolute;left:6px;top:26px;width:1px;height:0;background:var(--orange);transform-origin:0 0;transform:scaleY(0);transition:transform .5s var(--ease)}
#p-home-sb .home-sb-fill.is-live{transition:transform .12s linear}  /* desktop: progress through the pinned story, read from the scroll (10-28: scaleY, no layout per frame) */
#p-home-sb .home-sb-beat{position:relative;padding:14px 0}
#p-home-sb .home-sb-bd{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows .45s var(--ease),opacity .3s ease}
#p-home-sb .home-sb-bd>div{overflow:hidden;min-height:0}
#p-home-sb .home-sb-beat.is-on .home-sb-bd{grid-template-rows:1fr;opacity:1}
#p-home-sb .home-sb-dot{position:absolute;left:-40px;top:calc(14px + clamp(24px,2.3cqi,32px) * .56 - 6.5px);width:13px;height:13px;border-radius:2px;background:var(--bg);border:1.5px solid var(--mute);transition:background-color .4s ease,border-color .4s ease}
#p-home-sb .home-sb-beat.is-on .home-sb-dot,#p-home-sb .home-sb-beat.is-past .home-sb-dot{background:var(--orange);border-color:var(--orange)}
#p-home-sb .home-sb-bt{display:block;width:100%;font:500 clamp(24px,2.3cqi,32px)/1.12 var(--f);letter-spacing:-.025em;color:var(--mute);text-wrap:balance;transition:color .45s var(--ease)}
#p-home-sb .home-sb-bt:focus-visible{outline-offset:6px}
#p-home-sb .home-sb-beat p{margin-top:12px;font:400 16.5px/1.6 var(--f);color:var(--mute);max-width:26em;text-wrap:pretty;transition:color .45s var(--ease)}
#p-home-sb .home-sb-beat.is-on .home-sb-bt{color:var(--ink)}
#p-home-sb .home-sb-beat.is-on p{color:var(--ink-2)}
#p-home-sb .home-sb-beat .sg-link{margin-top:18px;margin-bottom:6px}
#p-home-sb .home-sb-pl{display:none}

#p-home-sb .home-sb-stage{position:relative;min-width:0}
#p-home-sb .home-sb-sticky{position:relative;height:var(--sb-pin,520px)}
#p-home-sb .home-sb-sticky>.home-sb-win{position:absolute;inset:0;transition:opacity 1.1s var(--ease),transform 1.1s var(--ease)}  /* 10-28: a slow crossfade, never a hard swap */
/* 10-28 (Kriste): the Slack window is the only illustration in the chapter; it stays on screen and clickable through all three steps */

/* ---------- V6 11-03 vision round (Eric's Vivid Vision), review option "Single Brain section": Vision (default) | Current ----------
   Vision: the platform line in the lede; the window tells the expansion story (it opens on #seo with only that channel, the
   approval happens there, and on step 3 outbound sales and the other functions join one by one); step 3 tells the story in
   words (anonymous B2B software client); after the steps, "three ways in" (Connect / Run / Manage) as one selector + panel. */
#p-home-sb[data-sbv="current"] .sbv-vis{display:none!important}
/* r17: all five OS channels always listed (was hidden until step 3) */

#p-home-sb:not([data-sbv="current"]) .home-sb-chb[data-conv="2"]{order:-2}
#p-home-sb:not([data-sbv="current"]) .home-sb-chb[data-conv="3"]{order:-1}
@keyframes home-sb-chin{from{opacity:0;transform:translateY(-4px)}}
/* V6 11-03, Kriste comment 3df9899e ("not a big fan of how this section is added… merge more nicely"): two displays for the three ways
   in, review option "Three ways in": A = the end of step 3, in the steps' own type (desktop/tablet in the beat, phone under the
   swipe); B = a Connect / Run / Manage tab row on the window that changes who runs it. The first draft (a separate selector block) was removed 11-03 at Kriste's request. */
#p-home-sb[data-ways="b"] .hsb-a{display:none!important}
#p-home-sb .hsb-a{margin-top:22px}
#p-home-sb .hsb-a>p{font:400 16.5px/1.6 var(--f);color:inherit}
#p-home-sb .hsb-a-list{list-style:none;margin:12px 0 0;padding:0;border-top:1px solid var(--line);max-width:30em}
#p-home-sb .hsb-a-list li{display:grid;grid-template-columns:92px minmax(0,1fr);gap:14px;padding:11px 0;border-bottom:1px solid var(--line)}
#p-home-sb .hsb-a-list b{justify-self:start;align-self:start;font:600 15.5px/1.2 var(--f);color:#14110F;background:var(--gold);border-radius:var(--r-ctl,2px);padding:4px 7px;margin-top:-1px;transition:opacity .3s ease}  /* V6 comment c4606511 (Kriste): the three names highlighted in gold */
#p-home-sb .hsb-a-list span{font:400 15.5px/1.45 var(--f);color:var(--ink-2);text-wrap:pretty}
#p-home-sb .home-sb-beat:not(.is-on) .hsb-a-list span{color:var(--mute)}
#p-home-sb .home-sb-beat:not(.is-on) .hsb-a-list b{opacity:.55}
/* V6 comment c4606511: Explore Single Brain = a solid orange button (the section's one call to action), wiping to gold on hover */
#p-home-sb .sg-btn.hsb-cta{margin-top:24px;background:var(--orange);border-color:var(--orange);color:#0B0B0C}
#p-home-sb .sg-btn.hsb-cta::before{background:var(--gold)}
#p-home-sb .sg-btn.hsb-cta .sg-btn__h{color:#0B0B0C}
#p-home-sb .hsb-a--ph{display:none}
@container site (max-width: 600px){
  #p-home-sb .hsb-a--in{display:none}
  #p-home-sb .hsb-a--ph{display:block;margin-top:28px;text-align:left}
  #p-home-sb .hsb-a--ph>p{text-align:center}
  #p-home-sb .hsb-a-list li{grid-template-columns:minmax(0,1fr);gap:2px}
  #p-home-sb .hsb-a-list span{font-size:15px}
}
/* V6 desktop (after the base rules above, so these win): open steps in tall slots, the window sticky beside them */
@container site (min-width: 961px){
  #p-home-sb .home-sb-beat{min-height:calc(var(--svh, 900px) * .34)}
  #p-home-sb .home-sb-beat:last-child{min-height:0}  /* V6 comment 215676b1 (Kriste: "so much empty space left under the last pointer"): step 3 is as tall as its text, so the band ends right after Explore Single Brain */
  #p-home-sb .home-sb-bd{grid-template-rows:1fr;opacity:1}
  #p-home-sb .home-sb-stage{align-self:stretch}
  #p-home-sb .home-sb-sticky{position:sticky;top:calc(var(--nav-top, 0px) + max(88px, (var(--svh, 900px) - var(--sb-pin)) / 2))}
}
/* ---------- the Slack window ---------- */
#p-home-sb .home-sb-win{position:relative;border-radius:var(--w-rad);overflow:hidden;display:flex;flex-direction:column;min-width:0;background:var(--w-frame);
  -webkit-backdrop-filter:var(--w-blur);backdrop-filter:var(--w-blur);
  box-shadow:0 0 0 1px var(--w-edge),var(--w-shadow)}
#p-home-sb .home-sb-tb{height:40px;flex:none;display:flex;align-items:center;padding:0 16px;position:relative;background-color:var(--w-tbar);box-shadow:var(--w-tb-line)}
/* the edge: a 1px gradient ring (lighter at the top, like light catching glass) and, for aurora, a coloured top line */
#p-home-sb .home-sb-win::after{content:"";position:absolute;inset:0;z-index:3;border-radius:inherit;padding:1px;background:var(--w-ring);pointer-events:none;
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0)}
/* something for the glass to blur: a soft glow behind the window, dark chapter only, fading in with the flip */
#p-home-sb .home-sb-sticky::before{content:"";position:absolute;inset:-18% -6% -22% -10%;z-index:0;background:var(--w-glow);pointer-events:none;opacity:0;transition:opacity .9s var(--ease);
  -webkit-mask-image:radial-gradient(closest-side,#000 58%,transparent);mask-image:radial-gradient(closest-side,#000 58%,transparent)}
#p-home-sb .home-sb-sticky::before{opacity:1}
#p-home-sb .home-sb-sticky>.home-sb-win{z-index:1}
#p-home-sb .home-sb-tb .tl{display:flex;gap:8px}
#p-home-sb .home-sb-tb .tl i{width:var(--w-tl-s);height:var(--w-tl-s);border-radius:50%;background:var(--w-tl1)}
#p-home-sb .home-sb-tb .tl i+i{background:var(--w-tl2)}
#p-home-sb .home-sb-tb .tl i+i+i{background:var(--w-tl3)}
#p-home-sb .home-sb-ws{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;align-items:center;gap:8px;background:var(--w-ws);box-shadow:inset 0 0 0 1px var(--w-ws-line);color:var(--w-ink);border-radius:7px;padding:6px 12px;font:600 13px/1 var(--f);white-space:nowrap}
#p-home-sb .home-sb-ws img{width:14px;height:14px;border-radius:50%}
#p-home-sb .home-sb-wb{flex:1;min-height:0;display:flex}
#p-home-sb .home-sb-side{width:176px;flex:none;padding:6px 8px 14px;color:var(--w-mute);background-color:var(--w-side)}
#p-home-sb .home-sb-sh{padding:8px 8px 10px;font:700 15.5px/1 var(--f);color:var(--w-ink)}
#p-home-sb .home-sb-sl{padding:12px 8px 6px;font:500 12.5px/1 var(--f);color:var(--w-mute)}
#p-home-sb .home-sb-chs{display:flex;flex-direction:column;gap:2px}
#p-home-sb .home-sb-chb{display:flex;align-items:center;gap:10px;width:100%;padding:8px;border-radius:6px;color:var(--w-mute);font:500 14px/1.2 var(--f);transition:background-color .2s ease,color .2s ease}
#p-home-sb .home-sb-chb svg{width:18px;height:18px;flex:none;opacity:.6;transition:opacity .2s ease}
#p-home-sb .home-sb-chb:hover{background:var(--w-hover);color:var(--w-ink)}
#p-home-sb .home-sb-chb[aria-pressed="true"]{background:var(--w-act);color:var(--w-act-ink);font-weight:600}
#p-home-sb .home-sb-chb[aria-pressed="true"] svg,#p-home-sb .home-sb-chb:hover svg{opacity:1}
#p-home-sb .home-sb-chb:focus-visible{outline-offset:-2px}
#p-home-sb .home-sb-main{flex:1;min-width:0;display:flex;flex-direction:column;background:var(--w-pane);border-top-left-radius:6px;box-shadow:0 0 0 1px var(--w-line)}
#p-home-sb .home-sb-cbar{flex:none;display:flex;align-items:center;gap:12px;height:56px;padding:6px 20px;border-bottom:1px solid var(--w-line);overflow:hidden}
#p-home-sb .home-sb-cbar b{font:700 15px/1 var(--f);color:var(--w-ink);white-space:nowrap;flex:none}
#p-home-sb .home-sb-topic{font:400 13px/1.35 var(--f);color:var(--w-mute);min-width:0;text-wrap:balance}
#p-home-sb .home-sb-pane{position:relative;flex:1 1 0;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;padding:10px 0 12px}
#p-home-sb .home-sb-pane::-webkit-scrollbar{display:none}
#p-home-sb .home-sb-m{display:grid;grid-template-columns:36px minmax(0,1fr);gap:12px;padding:9px 20px;transition:opacity .5s var(--ease),background-color .5s var(--ease),box-shadow .5s var(--ease)}
#p-home-sb .home-sb-m .av{width:36px;height:36px;border-radius:8px;object-fit:cover;display:block}
#p-home-sb .home-sb-m svg.av{padding:6px;background:var(--w-av-bg)}
/* r48 (Chris D. 11-20, comment bf52d8cb; Kriste): people = drawn human faces, agents = the drawn animals (fox mediaOS, cat contentOS,
   squirrel salesOS, raccoon creativeOS, owl talentOS), all in the one ink-and-watercolour style. Every message avatar is now an <img loading="lazy">. */
#p-home-sb .home-sb-m>div{min-width:0}
#p-home-sb .home-sb-mh{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;font:400 12.5px/1.3 var(--f);color:var(--w-mute)}
#p-home-sb .home-sb-mh b{font:700 15.5px/1.2 var(--f);color:var(--w-ink)}
#p-home-sb .home-sb-app{font:600 10px/1 var(--f);letter-spacing:.03em;background:var(--w-app);color:var(--w-mute);padding:3px 4px;border-radius:3px}
#p-home-sb .home-sb-say{font:400 15.5px/1.5 var(--f);color:var(--w-ink);margin-top:2px;text-wrap:pretty}
#p-home-sb .home-sb-say b{font-weight:600}
#p-home-sb .home-sb-say+.home-sb-say{margin-top:8px}
#p-home-sb .home-sb-men{color:var(--w-men);background:var(--w-men-bg);border-radius:3px;padding:0 3px;font-weight:500}
#p-home-sb .home-sb-lnk{color:var(--w-men);text-decoration:underline;text-underline-offset:2px}
#p-home-sb .home-sb-hot{color:var(--w-hot);font-weight:600}
#p-home-sb .home-sb-tbl{margin-top:8px;max-width:540px;background:var(--w-card);border:1px solid var(--w-card-line);border-radius:8px;padding:3px 0}
#p-home-sb .home-sb-dl{display:grid;grid-template-columns:140px minmax(0,1fr);gap:14px;padding:8px 14px;font:400 14.5px/1.45 var(--f);color:var(--w-ink-2)}
#p-home-sb .home-sb-dl+.home-sb-dl{border-top:1px solid var(--w-card-line)}
#p-home-sb .home-sb-dl b{font-weight:500;color:var(--w-ink)}
#p-home-sb .home-sb-dl strong{font-weight:600;color:var(--w-ink)}
#p-home-sb .home-sb-dl em{font-style:normal;color:var(--w-hot);font-weight:500}
#p-home-sb .home-sb-op{margin-top:10px;max-width:540px;padding-left:12px;border-left:2px solid var(--w-op)}
#p-home-sb .home-sb-oph{margin:0 0 4px;font:500 13px/1.3 var(--f);letter-spacing:0;text-transform:none;color:var(--w-hot)}  /* V5 review: content headers are sentence case (mono caps only for agents and buttons) */
#p-home-sb .home-sb-op p{font:400 14.5px/1.5 var(--f);color:var(--w-ink-2)}
#p-home-sb .home-sb-g200{margin-top:10px;max-width:540px;border-radius:8px;overflow:hidden;border:1px solid var(--w-card-line)}
#p-home-sb .home-sb-g200 img{width:100%;height:auto}
#p-home-sb .home-sb-ok{display:inline-flex;align-items:center;gap:7px;margin-top:8px;padding:4px 8px;border-radius:var(--r-ctl);font:500 12px/1 var(--f);color:var(--w-ok);background:var(--w-ok-bg);border:1px solid var(--w-ok-line)}
#p-home-sb .home-sb-ok i{width:7px;height:7px;border-radius:1px;background:var(--green)}
#p-home-sb .home-sb-pop{transition:opacity .28s ease,transform .32s var(--ease)}
#p-home-sb .home-sb-typing{display:flex;align-items:center;gap:5px;height:26px;padding:0 20px;font:400 12.5px/1 var(--f);color:var(--w-mute);opacity:0;transition:opacity .2s ease}
#p-home-sb .home-sb-typing b{font-weight:600;color:var(--w-ink)}
#p-home-sb .home-sb-typing.is-on{opacity:1}
#p-home-sb .home-sb-typing i{width:4px;height:4px;border-radius:50%;background:var(--w-mute);animation:home-sb-dot 1s ease-in-out infinite}
#p-home-sb .home-sb-typing i:nth-of-type(1){margin-left:2px}
#p-home-sb .home-sb-typing i:nth-of-type(2){animation-delay:.15s}
#p-home-sb .home-sb-typing i:nth-of-type(3){animation-delay:.3s}
@keyframes home-sb-dot{0%,100%{opacity:.3}50%{opacity:1}}
#p-home-sb .home-sb-comp{flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 20px 14px;border:1px solid var(--w-card-line);border-radius:10px;padding:8px 8px 8px 14px}
#p-home-sb .home-sb-comp p{font:400 15px/1 var(--f);color:var(--w-mute)}
#p-home-sb .home-sb-comp .send{width:28px;height:24px;border-radius:5px;display:grid;place-items:center;background:var(--w-card);color:var(--w-mute)}
#p-home-sb .home-sb-comp .send svg{width:15px;height:15px}
#p-home-sb .home-sb-conv[hidden]{display:none}
#p-home-sb .home-sb-win.is-armed .home-sb-m:not(.is-on){display:none}
#p-home-sb .home-sb-win.is-armed .home-sb-w:not(.is-on){opacity:0}
#p-home-sb .home-sb-win.is-armed .home-sb-pop:not(.is-on){opacity:0;transform:translateY(6px)}
#p-home-sb .home-sb-win.is-armed .home-sb-m.is-on{animation:home-sb-msgin .3s var(--ease)}
@keyframes home-sb-msgin{from{opacity:0;transform:translateY(6px)}}
@keyframes home-sb-in{from{opacity:0}}
/* beat 2: the approval comes forward, everything else steps back */
#p-home-sb .home-sb-win.is-focus .home-sb-m.is-ok{background:var(--w-ok-row);box-shadow:inset 3px 0 0 var(--green)}

/* ---------- beat 3: five connected workflows, each one starting higher than the last ---------- */

/* tablet and phone: the stage sits on top, the beats become three tap targets under it */
@container site (max-width: 1100px){
  #p-home-sb .home-sb-h2{white-space:normal}
}
@container site (max-width: 960px){
  #p-home-sb .home-sb-ch{padding-block:var(--sec)}  /* tablet stays light (no flip), so no air for a fade */
  #p-home-sb .home-sb-track{height:auto}
  #p-home-sb .home-sb-pin{position:relative;top:auto;height:auto;display:block}
  #p-home-sb .home-sb-stage{margin-top:24px}
  #p-home-sb .home-sb-sticky{height:540px}
  #p-home-sb .home-sb-beat p{margin-top:10px}
  #p-home-sb .home-sb-side{width:150px}
}
@container site (max-width: 600px){
  #p-home-sb .home-sb-ch{padding-block:var(--sec)}
  /* phone: the beats are one swipe row (the site's .sg-swipe pattern, pixel dots under it) and the
     window right below follows the beat in view. No sticky stage, no scroll-driven changes. */
  #p-home-sb .home-sb-head{justify-items:center;text-align:center}
  #p-home-sb .home-sb-h2{text-wrap:balance}
  #p-home-sb .home-sb-body{margin-top:28px}
  #p-home-sb .home-sb-beats{padding-left:0}
  #p-home-sb .home-sb-beats::before,#p-home-sb .home-sb-fill,#p-home-sb .home-sb-dot{display:none}
  #p-home-sb .home-sb-bd{grid-template-rows:1fr;opacity:1}
  #p-home-sb .home-sb-list.sg-swipe{grid-auto-columns:100%;padding-inline:var(--gut);margin-inline:calc(var(--gut) * -1);gap:calc(var(--gut) * 2)}
  #p-home-sb .home-sb-beat,#p-home-sb .home-sb-beat:last-child{min-height:0;padding:0}
  /* Kriste 10-21: the beats are centred on phone, like the chapter opener above them */
  #p-home-sb .home-sb-beat{text-align:center}
  #p-home-sb .home-sb-bt{min-height:44px;font-size:24px;color:var(--ink);text-align:center}
  #p-home-sb .home-sb-beat p{margin:10px auto 0;font-size:16px;color:var(--ink-2)}
  /* b1 phone review 10-22: the link leaves beat 3 so the three slides are alike and the dots sit right under their text */
  #p-home-sb .home-sb-beat .hsb-cta{display:none}
  #p-home-sb .sg-swipe__dots{margin-top:14px}
  #p-home-sb .home-sb-pl{display:block;margin-top:20px;text-align:center}
  #p-home-sb .home-sb-pl .hsb-cta{margin-top:0}
  #p-home-sb .home-sb-stage{margin-top:22px}
  #p-home-sb .home-sb-sticky{height:540px}
  #p-home-sb .home-sb-tb{height:34px;padding:0 12px}
  #p-home-sb .home-sb-tb .tl i{width:10px;height:10px}
  #p-home-sb .home-sb-ws{font-size:12.5px;padding:5px 10px}
  #p-home-sb .home-sb-chb{min-height:44px;padding:0 12px}
  #p-home-sb .home-sb-mh{font-size:14px}
  #p-home-sb .home-sb-oph{font-size:14px}
  #p-home-sb .home-sb-ok{font-size:13px}
  #p-home-sb .home-sb-app{font-size:12px;padding:3px 5px}  /* phone label floor (was 10px) */
  #p-home-sb .home-sb-typing{font-size:14px}
  /* phone: the stage is as tall as the layer on show (window 540px, staircase its own height), no empty band */
  #p-home-sb .home-sb-sticky{height:auto}
  #p-home-sb .home-sb-sticky>.home-sb-win{position:relative;height:540px}
  #p-home-sb .home-sb-wb{flex-direction:column}
  #p-home-sb .home-sb-side{width:auto;padding:4px 10px 8px;overflow-x:auto;scrollbar-width:none;-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 44px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 44px),transparent)}
  #p-home-sb .home-sb-side.is-end{-webkit-mask-image:none;mask-image:none}
  #p-home-sb .home-sb-side::-webkit-scrollbar{display:none}
  #p-home-sb .home-sb-sh,#p-home-sb .home-sb-sl{display:none}
  #p-home-sb .home-sb-chs{flex-direction:row;gap:6px}
  #p-home-sb .home-sb-chb{width:auto;flex:none;white-space:nowrap}
  #p-home-sb .home-sb-main{border-top-left-radius:0}
  #p-home-sb .home-sb-topic{display:none}
  #p-home-sb .home-sb-cbar{padding:0 14px}
  #p-home-sb .home-sb-m{grid-template-columns:32px minmax(0,1fr);gap:10px;padding:8px 14px}
  #p-home-sb .home-sb-m .av,#p-home-sb .home-sb-m svg.av{width:32px;height:32px}
  #p-home-sb .home-sb-say{font-size:15px}
  #p-home-sb .home-sb-dl{grid-template-columns:minmax(0,1fr);gap:2px;padding:9px 12px}
  #p-home-sb .home-sb-typing{padding:0 14px}
  #p-home-sb .home-sb-comp{margin:0 12px 12px}
}
@media (prefers-reduced-motion: reduce){
  #p-home-sb .home-sb-sticky>*,#p-home-sb .home-sb-fill{transition:none!important}
}

/* V7 11-11 (Shaun: tie this section to the service rows): the six agents from Services, each opens its row */
#p-home-sb .hsb-ag{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px}
#p-home-sb .hsb-ag>p{margin:0;font:500 14px/1.3 var(--f);color:var(--ink-2)}
#p-home-sb .hsb-ag-l{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
#p-home-sb .hsb-ag-b{all:unset;box-sizing:border-box;display:inline-flex;align-items:center;gap:8px;min-height:32px;padding:6px 11px 6px 9px;
  border:1px solid var(--line);border-radius:var(--r-ctl,2px);font:500 13px/1 var(--f);color:var(--ink);cursor:pointer;
  transition:border-color .2s ease,color .2s ease}
#p-home-sb .hsb-ag-b::before{content:"";width:7px;height:7px;flex:none;background:var(--orange)}
#p-home-sb .hsb-ag-b:hover{border-color:var(--orange)}
#p-home-sb .hsb-ag-b:focus-visible{outline:2px solid var(--orange);outline-offset:2px}
@container site (max-width: 600px){
  #p-home-sb .hsb-ag{justify-content:center}
  #p-home-sb .hsb-ag>p{width:100%;text-align:center}
  #p-home-sb .hsb-ag-l{justify-content:center}
  #p-home-sb .hsb-ag-b{min-height:40px}
}

/* V7 11-12 (Kriste cd6069d6): channel names now end in "-agent"; the sidebar widens a little so none wraps */
@container site (min-width: 1201px){ #p-home-sb .home-sb-side{width:196px} }
#p-home-sb .home-sb-chb{white-space:nowrap;gap:9px}
/* r30 (Kriste 11-16): phone trims. The agent chips repeat the Slack window's channel tabs; two objections make the point */
@container site (max-width: 600px){
  #p-home-sb .hsb-ag{display:none}
  #p-home-sb .home-sb-op + .home-sb-op + .home-sb-op{display:none}
}

/* r40 F (Kriste b682d51e + 3e154d7e): on phone the window is solid, with no glow, blur or shadow around it, and the
   "three ways" block is centred */
@container site (max-width: 600px){
  #p-home-sb{--w-blur:none;--w-shadow:none;--w-glow:none}
  #p-home-sb .home-sb-sticky::before{display:none}
  #p-home-sb .hsb-a--ph{text-align:center}
  #p-home-sb .hsb-a-list li{justify-items:center;text-align:center}
  #p-home-sb .hsb-a-list span{margin-inline:auto;max-width:30em}
}
/* r42 (Kriste 11-19, comment b6ba2267): the gold Connect / Run / Manage labels centre too (the base rule pinned them to the start) */
@container site (max-width: 600px){
  #p-home-sb .hsb-a-list b{justify-self:center}
}
