/* Approved narrative order with the public SOCEO visual and motion system.
   Scene materials, shadows, choreography and assets live in their canonical CSS. */
[data-brand-home] {
  --home-display-font: 650 clamp(34px,4vw,58px)/1.1 "Bricolage Grotesque",Inter,sans-serif;
  --home-display-tracking: -.03em;
}
[data-brand-home] :is(.ah-section-title,.mix-section-intro h2) { text-align: left; margin-inline: 0; max-width: 900px; }
[data-brand-home] .ah-section-description { margin-inline: 0; max-width: 60ch; font-size: 18px; }
[data-brand-home] :is(.ws-intro,.sg-heading) { width: min(1180px,calc(100% - 96px)); max-width: 1180px; text-align: left; margin-inline: auto; }
[data-brand-home] :is(a,button,[tabindex]):focus-visible { outline: 3px solid #7839ee; outline-offset: 5px; }
[data-brand-home] ::selection { color: #fff; background: #7839ee; }
[data-brand-home] :is(.mcp-panel,.ws-stage) { scrollbar-color: #9f80cb #ebe6fb; scrollbar-width: thin; }

/* Same four public motor scenes, in the compact chapter composition. */
[data-brand-home] .ss-story-intro { display: grid; grid-template-columns: 1.2fr .8fr; gap: 0 64px; text-align: left; margin-bottom: 56px; }
[data-brand-home] .ss-story-intro > .ah-section-eyebrow { grid-column: 1/-1; }
[data-brand-home] .ss-story-intro-bottom { align-self: end; align-items: flex-start; gap: 20px; }
[data-brand-home] .ss-story-intro-bottom .ah-section-description { margin: 0; }
[data-brand-home] .ss-story-pin { grid-template-columns: .62fr 1fr; gap: 56px; align-items: start; }
[data-brand-home] .ss-chapter { padding: 20px 0 20px 32px; }
[data-brand-home] .ss-chapter button { min-height: 44px; font-size: 14px; }
[data-brand-home] .ss-chapter h3 { font-size: 26px; line-height: 1.15; margin: 8px 0 16px; }
[data-brand-home] .ss-chapter p { font-size: 14px; line-height: 1.7; }
[data-brand-home] .ss-chapter-link { font-size: 12px; min-height: 44px; }
[data-brand-home] .ss-story[data-ss-mode] .ss-chapter:not([aria-current="step"]) :is(h3,p,.ss-chapter-link) { display: none; }
[data-brand-home] .ss-scene-controls button { min-height: 44px; }

/* Restore the public sequence: PDF, Excel, Word, Markdown, then shared context.
   Canonical alternating layouts, scene spacing and scroll tracks remain intact. */
[data-brand-home] .ws-story { padding: 112px 0 16px; }
[data-brand-home] .ws-intro { margin-bottom: 40px; }
[data-brand-home] .ws-format-index { justify-content: flex-start; margin-top: 32px; }

/* Agent scenarios retain the public icon size, surfaces and animated connections. */
[data-brand-home] .sg-heading .ah-section-title { font-size: clamp(34px,4vw,58px); }
[data-brand-home] .sg-heading .sg-description { margin-inline: 0; }
[data-brand-home] .sg-role-line { justify-content: flex-start; }
[data-brand-home] .sg-scene { width: min(1180px,calc(100% - 96px)); }

/* Four canonical MCP scenes, including the catalog, keep their shared scroll timeline. */
[data-brand-home] #mcp .mcp-intro { width: 100%; max-width: 1180px; margin-bottom: 40px; text-align: left; }
[data-brand-home] #mcp .mcp-interface { gap: 40px; }
[data-brand-home] #mcp .mcp-tabs { padding-inline: 16px; }
[data-brand-home] #mcp .mcp-tab { min-height: 76px; }

/* Evidence remains later in the narrative, with the public visual treatments. */
[data-brand-home] .mix-askai { scroll-margin-top: 120px; }
[data-brand-home] .mix-cost { padding-block: 80px; }
[data-brand-home] .mix-cost-head h2 { font-size: 40px; }
[data-brand-home] .mix-ai-usage { padding-block: 96px; }
[data-brand-home] .au-intro { max-width: 1180px; text-align: left; }
[data-brand-home] .au-intro h2 { font-size: clamp(34px,4vw,58px); letter-spacing: -.03em; }
[data-brand-home] .au-intro > p:last-child { margin-inline: 0; font-size: 18px; }

@media(max-width:1000px) {
  [data-brand-home] .ss-story-intro { grid-template-columns: 1fr; gap: 24px; }
  [data-brand-home] .ss-story-pin { gap: 28px; }
}
@media(max-width:820px) {
  [data-brand-home] .ss-story-pin { grid-template-columns: 1fr; gap: 24px; }
  [data-brand-home] .ss-story-stage { grid-row: auto; }
  [data-brand-home] .ss-chapters { grid-template-columns: repeat(4,minmax(0,1fr)); }
  [data-brand-home] .ss-chapter { display: contents; }
  [data-brand-home] .ss-chapter button { grid-row: 1; font-size: 12px; min-height: 44px; }
  [data-brand-home] .ss-chapter:nth-child(1) > button { grid-column: 1; }
  [data-brand-home] .ss-chapter:nth-child(2) > button { grid-column: 2; }
  [data-brand-home] .ss-chapter:nth-child(3) > button { grid-column: 3; }
  [data-brand-home] .ss-chapter:nth-child(4) > button { grid-column: 4; }
  [data-brand-home] .ss-chapter-index { display: none; }
  [data-brand-home] .ss-chapter :is(h3,p,.ss-chapter-link) { grid-column: 1/-1; }
  [data-brand-home] .ss-chapter h3 { grid-row: 2; margin: 20px 0 10px; }
  [data-brand-home] .ss-chapter p { grid-row: 3; }
  [data-brand-home] .ss-chapter-link { grid-row: 4; }
  [data-brand-home] .ss-story:not([data-ss-mode]) .ss-chapters { display: block; }
  [data-brand-home] .ss-story:not([data-ss-mode]) .ss-chapter { display: block; padding-block: 16px; }
}
@media(max-width:700px) {
  [data-brand-home] :is(.ws-intro,.sg-heading,.ss-story-intro,.ss-story-track,.ws-feature,.sg-scene) { width: calc(100% - 40px); }
  [data-brand-home] :is(.ss-story,#mcp.mix-mcp,.mix-ai-usage) { padding-block: 72px; }
  [data-brand-home] .ws-story { padding: 72px 0 16px; }
  [data-brand-home] .ah-section-title,[data-brand-home] .sg-heading .ah-section-title { font-size: 36px; }
  [data-brand-home] .ah-section-description { font-size: 16px; }
  [data-brand-home] .au-intro h2 { font-size: 36px; }
  [data-brand-home] .au-intro > p:last-child { font-size: 16px; }
  [data-brand-home] .ss-story-intro { margin-bottom: 36px; }
  [data-brand-home] #mcp .mcp-tab { min-height: 68px; gap: 7px; }
  [data-brand-home] #mcp .mcp-tab strong { font-size: 12px; }
  [data-brand-home] #mcp .mcp-tab small { font-size: 9px; }
  [data-brand-home] .mix-cost { padding-block: 64px; }
  [data-brand-home] .mix-cost-head h2 { font-size: 34px; }
}
