/* Hybrid deck: clearer capability hierarchy inside the production design system. */
.deck-section { padding:clamp(48px,6vw,86px) var(--story-space); border-bottom:1px solid var(--line); }
.deck-section-heading { display:grid; grid-template-columns:1.15fr 1fr; align-items:end; gap:40px; margin-bottom:40px; }
.deck-section-heading h2 { margin:0; }
.deck-section-heading>p { margin:0; max-width:52ch; font-size:17px; line-height:1.7; color:var(--muted); }
body.site-design.story-site.hierarchy-site.deck-platform-site main .site-design-hero h1 { max-width:17ch; }
body.site-design.story-site.hierarchy-site.deck-platform-site .pj-opening-screen { transform:none; box-shadow:8px 10px 0 color-mix(in srgb,var(--magenta) 9%,transparent); }
.deck-platform-site .pj-opening-screen .pj-screen-header { gap:12px; justify-content:space-between; }
.deck-platform-site .pj-opening-screen figcaption small { display:block; font-size:11px; color:var(--muted); margin-top:8px; }
.deck-platform-site .pj-product-spine { border-bottom:0; }
.deck-platform-site .pj-product-spine strong { font-weight:650; }
.deck-capabilities { background:var(--surface); }
.deck-capability-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); column-gap:40px; }
.deck-capability-grid article { padding:28px 0 30px; border-top:1px solid var(--line); min-width:0; }
.deck-capability-grid svg { width:32px; height:32px; fill:none; stroke:var(--magenta); stroke-width:1.4; stroke-linecap:round; stroke-linejoin:round; margin-bottom:16px; }
.deck-capability-grid .deck-capability-name { font-size:12px; font-weight:650; margin:0 0 12px; color:var(--magenta); }
.deck-capability-grid h3 { max-width:22ch; margin:0 0 14px; }
.deck-capability-grid article>p:last-child { margin:0; font-size:15px; line-height:1.7; color:var(--muted); max-width:41ch; }
.deck-foundation { margin-top:12px; padding:30px; color:#fff8ef; background:#262422; border-top:3px solid var(--magenta); display:grid; grid-template-columns:1fr auto; gap:18px 28px; }
.deck-foundation>strong { font-size:22px; letter-spacing:-.02em; }
.deck-foundation ul { grid-column:1; display:flex; gap:12px 24px; flex-wrap:wrap; list-style:none; padding:0; margin:0; color:#d5d3d1; font-size:13px; }
.deck-foundation li { display:flex; gap:10px; align-items:center; }
.deck-foundation li:before { content:''; width:4px; height:4px; background:#ff8dbe; }
.deck-foundation>a { grid-column:2; grid-row:1/3; align-self:center; font-size:13px; color:#ffaad0; text-underline-offset:5px; }
.deck-growth { display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; background:var(--surface); }
.deck-growth figure { margin:0; border:1px solid var(--line); }
.deck-growth img { display:block; width:100%; height:auto; }
.deck-growth h2 { margin:0 0 24px; }
.deck-growth p { color:var(--muted); font-size:17px; line-height:1.7; max-width:46ch; }
.deck-growth .text-link { display:inline-block; margin-top:12px; }
/* The diagram follows the deck's systems → conduits → shared platform → apps story. */
.deck-connection-diagram { min-width:0; padding:26px; border:1px solid var(--line); background:var(--surface); box-shadow:8px 10px 0 color-mix(in srgb,var(--magenta) 9%,transparent); }
.deck-diagram-sources { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; position:relative; padding-bottom:26px; }
.deck-diagram-sources>div { display:flex; flex-wrap:wrap; justify-content:center; align-content:center; gap:6px; background:#fff; padding:14px 8px 12px; min-height:94px; border:1px solid #dfdddb; position:relative; }
.deck-diagram-sources img { width:42px; height:28px; object-fit:contain; }
.deck-diagram-sources>div:first-child img { width:86px; }
.deck-diagram-sources span { width:100%; text-align:center; color:#4d4b49; font-size:10px; line-height:1.4; }
.deck-diagram-sources>div:after { content:''; position:absolute; width:1px; height:14px; top:100%; left:50%; background:var(--magenta); }
.deck-diagram-sources:after { content:''; position:absolute; left:16.66%; right:16.66%; bottom:12px; height:1px; background:var(--magenta); }
.deck-conduit { position:relative; text-align:center; color:var(--ink); padding:2px 0 22px; }
.deck-conduit:before,.deck-conduit:after { content:''; position:absolute; width:1px; height:12px; background:var(--magenta); left:50%; }
.deck-conduit:before { top:-12px; }.deck-conduit:after { bottom:0; }
.deck-conduit span { display:block; font-size:13px; font-weight:700; }
.deck-conduit small { display:block; color:var(--muted); font-size:10px; margin-top:5px; }
.deck-platform-hub { padding:22px 18px; text-align:center; background:#262422; color:#fff8ef; border:1px solid #72706e; }
.deck-platform-hub>img { display:block; width:150px; height:34px; object-fit:contain; margin:0 auto 18px; }
.deck-platform-hub strong { display:block; font-size:23px; line-height:1.25; font-weight:650; letter-spacing:-.02em; }
.deck-platform-hub p { margin:12px 0 0; color:#cccac8; font-size:11px; }
.deck-diagram-outputs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; padding-top:27px; position:relative; }
.deck-diagram-outputs:before { content:''; position:absolute; width:1px; height:14px; background:var(--magenta); top:0; left:50%; }
.deck-diagram-outputs:after { content:''; position:absolute; height:1px; background:var(--magenta); top:13px; left:16.66%; right:16.66%; }
.deck-diagram-outputs span { position:relative; text-align:center; font-size:11px; line-height:1.5; font-weight:600; background:color-mix(in srgb,var(--magenta) 7%,var(--surface)); border:1px solid var(--line); padding:12px 6px; }
.deck-diagram-outputs span:before { content:''; position:absolute; left:50%; width:1px; height:14px; bottom:100%; background:var(--magenta); }
.deck-catalog { background:var(--surface); }
.deck-logo-grid { list-style:none; display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); margin:0; padding:0; border-top:1px solid var(--line); }
.deck-logo-grid li { min-width:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px; padding:24px 12px; border-bottom:1px solid var(--line); }
.deck-logo-grid li>span { font-size:13px; font-weight:550; text-align:center; line-height:1.4; }
.deck-logo-art { height:52px; width:116px; max-width:100%; display:grid; place-items:center; }
.deck-logo-art img { display:block; width:100%; height:44px; max-height:44px; max-width:100%; object-fit:contain; }
.deck-catalog-footer { display:flex; gap:16px 30px; justify-content:space-between; padding-top:22px; }
.deck-catalog-footer p { margin:0; color:var(--muted); font-size:12px; line-height:1.6; }
.deck-catalog-footer strong { color:var(--ink); }
.deck-catalog-footer strong:not(:first-child) { margin-left:12px; }
.source-logo { display:grid; place-items:center; background:#fff; width:48px; height:40px; padding:6px; flex-shrink:0; border-radius:2px; }
.source-logo img { display:block; max-width:100%; max-height:28px; width:auto; height:auto; object-fit:contain; }
html[data-theme="dark"] .deck-logo-art { background:#fff; border-radius:3px; padding:6px; height:58px; }
html[data-theme="dark"] .deck-logo-art img { max-height:42px; }
.deck-integrations-site .connection-sources { background:var(--paper); }
@media(min-width:1440px) { .deck-section { padding-block:86px; } }
@media(max-width:1100px) { .deck-capability-grid { gap:0 26px; }.deck-connection-diagram { padding:18px; }.deck-diagram-sources>div { padding-inline:5px; }.deck-diagram-sources img { width:34px; height:26px; }.deck-diagram-outputs span { font-size:10px; }.deck-logo-grid { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media(max-width:850px) { .deck-connection-diagram { width:100%; max-width:600px; justify-self:center; padding:26px; }.deck-section-heading { gap:24px; }.deck-capability-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 30px; }.deck-foundation { grid-template-columns:1fr; }.deck-foundation>a { grid-column:1; grid-row:auto; }.deck-growth { grid-template-columns:1fr; gap:30px; }.deck-growth figure { max-width:640px; }.deck-growth p { max-width:58ch; } }
@media(max-width:640px) { .deck-section-heading { grid-template-columns:1fr; gap:22px; margin-bottom:28px; }.deck-section-heading>p { font-size:16px; }.deck-logo-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }.deck-logo-grid li { padding:22px 8px; gap:10px; }.deck-logo-grid li>span { font-size:11px; }.deck-logo-art { width:95px; }.deck-catalog-footer { flex-direction:column; gap:8px; }.deck-capability-grid { grid-template-columns:1fr; }.deck-capability-grid article { padding:24px 0; display:grid; grid-template-columns:32px minmax(0,1fr); gap:0 16px; }.deck-capability-grid svg { grid-column:1; grid-row:1/4; margin-top:3px; }.deck-capability-grid article>*:not(svg) { grid-column:2; }.deck-capability-grid .deck-capability-name { margin-bottom:10px; }.deck-capability-grid h3 { max-width:none; }.deck-capability-grid article>p:last-child { max-width:none; }.deck-foundation { padding:25px; }.deck-foundation ul { display:grid; grid-template-columns:1fr 1fr; gap:16px; font-size:12px; }.deck-platform-site .pj-opening-screen .pj-screen-header { flex-wrap:wrap; }.deck-platform-site .pj-opening-screen .pj-screen-header>a { margin-left:0; }.deck-connection-diagram { padding:18px 12px; }.deck-diagram-sources { gap:6px; }.deck-diagram-sources span { font-size:9px; }.deck-diagram-sources img { width:30px; height:24px; }.deck-diagram-sources>div:first-child img { width:68px; }.deck-diagram-outputs { gap:6px; }.deck-diagram-outputs span { font-size:9px; padding:11px 4px; }.deck-growth p { font-size:16px; } }

body.site-design.story-site.hierarchy-site.deck-platform-site .pj-hero h1 em { display:block; }

.deck-integrations-site .source-explorer-tabs.source-map { grid-template-rows:repeat(3,minmax(0,1fr)); }
html[data-theme="dark"] .deck-capability-grid .deck-capability-name,
html[data-theme="dark"] .deck-platform-site .pj-screen-header a { color:#f79bc5; }
html[data-theme="dark"] .deck-capability-grid svg { stroke:#f79bc5; }
