/* Shared viewport anchor and text slots keep product heroes aligned. */
@media(min-width:769px){
  .workflow-first-screen .product-hero{height:540px;padding:0}
  .product-hero-message,.audience-hero-copy.product-hero-message{position:absolute;top:calc(50svh - 72px);left:50%;transform:translate(-50%,-50%);width:calc(100% - 48px);height:auto;display:grid;grid-template-rows:26px 112px 52px 38px;gap:16px;justify-items:center;align-items:center;text-align:center;padding:0;z-index:3}
  .workflow-first-screen .product-hero-message{width:calc(100% - 480px);max-width:640px}
  .product-hero-message>.t-label,.product-hero-message>.audience-pill{margin:0;display:inline-block;font-size:10px;padding:6px 12px;border:1px solid rgba(0,0,0,.10);border-radius:999px;background:#fff;color:#666;text-transform:none}
  .workflow-first-screen .product-hero-message h1,.audience-hero-copy.product-hero-message h1{margin:0;line-height:1.12;font-size:48px}
  .product-hero-message>p,.audience-hero-copy.product-hero-message>p{margin:0;font-size:16px;line-height:1.6}
  .workflow-first-screen .product-hero-message .product-actions,.audience-hero-copy.product-hero-message .product-actions{margin:0}
  .orbit-source-left,.orbit-source-right{top:48px}
  .orbit-source-left{left:calc(21% - 90px)}.orbit-source-right{left:calc(79% - 90px)}
  .orbit-middle-left,.orbit-middle-right{top:220px}
  .orbit-middle-left{left:calc(16% - 90px)}.orbit-middle-right{left:calc(84% - 90px)}
  .orbit-inner-left,.orbit-inner-right{top:392px}
  .orbit-inner-left{left:calc(34% - 90px)}.orbit-inner-right{left:calc(66% - 90px)}
}
.workflow-first-screen .hero-staging-table{height:320px}
@media(max-width:768px){.workflow-first-screen .product-hero-message{display:flex;flex-direction:column;align-items:center}.workflow-first-screen .product-hero-message>.t-label{font-size:10px;padding:6px 12px;border:1px solid rgba(0,0,0,.10);border-radius:999px;background:#fff;color:#666;text-transform:none}}

@media(min-width:769px) and (max-width:1000px){
.workflow-first-screen .product-hero-message{width:calc(100% - 360px)}
.workflow-first-screen .product-hero-message h1{font-size:40px}
.orbit-source-left{left:calc(21% - 80px)}.orbit-source-right{left:calc(79% - 80px)}
.orbit-middle-left{left:calc(16% - 80px)}.orbit-middle-right{left:calc(84% - 80px)}
.orbit-inner-left{left:calc(34% - 80px)}.orbit-inner-right{left:calc(66% - 80px)}
}

/* Filters sit directly on the lower branches, leaving room for centred copy. */
.graph-card.graph-filter-pill{height:28px;min-height:0;width:auto;min-width:152px;padding:6px 12px;gap:6px;border-radius:999px;justify-content:center;font-size:10px;color:#666;background:#fff}
@media(min-width:769px){
.graph-card.graph-filter-pill{top:440px}
.orbit-inner-left.graph-filter-pill{left:34%;transform:translateX(-50%)}
.orbit-inner-right.graph-filter-pill{left:66%;transform:translateX(-50%)}
}
@media(max-width:768px){.graph-card.graph-filter-pill{min-width:0;width:100%;height:32px;font-size:9px}}

/* Keep each branch outside the copy and give it its own table entry. */
@media(min-width:769px){
.orbit-source-left{left:calc(26% - 90px);top:80px}
.orbit-source-right{left:calc(74% - 90px);top:80px}
.orbit-middle-left,.orbit-middle-right{top:244px}
.orbit-inner-left.graph-filter-pill{left:22%;top:440px}
.orbit-inner-right.graph-filter-pill{left:78%;top:440px}
}
@media(min-width:769px) and (max-width:1000px){
.orbit-source-left{left:calc(26% - 80px)}
.orbit-source-right{left:calc(74% - 80px)}
}

@media(min-width:769px){.orbit-source-left,.orbit-source-right{top:112px}}

/* Give the table a little more space below the filters. */
.workflow-first-screen .hero-staging-table{margin-top:32px}
@media(min-width:769px){
  .hero-graph-lines{overflow:visible}
}

/* Keep the graph and centred message in proportion on taller displays. */
@media(min-width:769px){
  .workflow-first-screen{--workflow-canvas-height:max(540px, calc(100svh - 322px))}
  .workflow-first-screen .product-hero{height:var(--workflow-canvas-height)}
  .orbit-source-left,.orbit-source-right{top:calc(var(--workflow-canvas-height) * .207407)}
  .orbit-middle-left,.orbit-middle-right{top:calc(var(--workflow-canvas-height) * .451852)}
  .orbit-inner-left.graph-filter-pill,.orbit-inner-right.graph-filter-pill{top:calc(var(--workflow-canvas-height) * .814815)}
  .hero-graph-lines{height:100%;overflow:visible}
  .workflow-first-screen .hero-staging-table{margin-top:48px}
}
/* Column header plus four data rows; the thesis follows directly afterwards. */
.workflow-first-screen .hero-staging-table{height:202px;max-height:202px}
.workflow-first-screen .hero-staging-table th,.workflow-first-screen .hero-staging-table td{height:40px}
.workflow-first-screen .hero-staging-table th,.workflow-first-screen .hero-staging-table td{padding-top:8px;padding-bottom:8px}
