/* Shared homepage hero rhythm, framed by one consistent workflow node system. */
#main-content{padding-top:64px}
#main-content .workflow-first-screen{max-width:1280px;border:0;min-height:0;margin:auto}
#main-content .workflow-first-screen .product-hero{position:relative;display:block;width:100%;max-width:none;height:740px;min-height:740px;padding:0 24px;margin:0;background:#fff;overflow:visible}
#main-content .workflow-first-screen .product-hero:before,#main-content .workflow-first-screen:after{display:none}
#main-content .workflow-first-screen .product-hero-message{position:absolute;top:84px;left:50%;transform:translateX(-50%);width:680px;max-width:calc(100% - 48px);height:auto;padding:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:0;text-align:center;background:none;z-index:2}
#main-content .workflow-first-screen .product-hero-message .t-label{margin:0;padding:8px 14px;font:400 13px/20px Inter,sans-serif;border:1px solid rgba(0,0,0,.08);border-radius:999px;background:#fff;color:#111;letter-spacing:0;text-transform:none}
#main-content .workflow-first-screen .product-hero-message h1{font:450 60px/1.1 Inter,sans-serif;letter-spacing:-.01em;margin:32px 0 0;max-width:100%;text-wrap:balance;color:#111}
#main-content .workflow-first-screen .product-hero-message>p{font:400 18px/1.625 Inter,sans-serif;color:#171717;margin:20px 0 0;max-width:560px}
#main-content .workflow-first-screen .product-hero-message .desktop-break{display:none}
#main-content .workflow-first-screen .product-actions{display:flex;justify-content:center;gap:12px;margin-top:36px}
#main-content .workflow-first-screen .product-actions a{padding:12px 20px;min-height:44px;border:0;border-radius:999px;font:500 14px/20px Inter,sans-serif;box-shadow:none;letter-spacing:0}
#main-content .workflow-first-screen .btn-primary{background:#111;color:#fff}
#main-content .workflow-first-screen .btn-secondary{background:#f2f2f2;color:#111}

#main-content .workflow-first-screen .product-hero{height:auto;min-height:0;padding-top:84px;padding-bottom:64px}
#main-content .workflow-first-screen .product-hero-message{position:relative;top:auto;left:auto;transform:none;margin:auto}
@media(max-width:1000px) and (min-width:769px){#main-content .workflow-first-screen .product-hero-message h1{font-size:48px}}
@media(max-width:768px){#main-content{padding-top:120px}#main-content .workflow-first-screen .product-hero{padding:32px 16px 48px}#main-content .workflow-first-screen .product-hero-message h1{font-size:36px}}
/* The headline itself is the staging node in a live workflow. */
.headline-staging{position:relative;display:inline-block;padding:5px 12px;margin:-6px -12px;border:1px solid #dce1e9;border-radius:12px;background:#fff;box-shadow:0 3px 12px #00000003}
.headline-port{position:absolute;width:7px;height:7px;background:#fff;border:1px solid #aab9da;border-radius:50%;top:50%;transform:translateY(-50%)}.headline-port-left{left:-4px}.headline-port-right{right:-4px}
.headline-workflow{position:absolute;top:0;left:24px;right:24px;height:480px;pointer-events:none;font-family:Inter,sans-serif;z-index:1}
.headline-wires{position:absolute;inset:0;width:100%;height:100%;overflow:visible}.headline-wire-base{stroke:#e1e3e7;stroke-width:1.2}.headline-wire-active{stroke:#aab9da;stroke-width:1.8}.headline-wire-active path{stroke-dasharray:1;stroke-dashoffset:1;animation:headline-flow 8s ease-in-out infinite}.headline-wire-active path:nth-child(n+3){animation-delay:2.3s}
.headline-node{position:absolute;display:flex;align-items:center;gap:10px;width:204px;height:64px;border:1px solid #e5e5e5;border-radius:9px;padding:12px;background:#fff;text-align:left;animation:headline-node-pulse 8s ease-in-out infinite}
.headline-node-tl{top:72px;left:0}.headline-node-tr{top:72px;right:0}.headline-node-bl{top:360px;left:0;animation-delay:2.3s}.headline-node-br{top:360px;right:0;animation-delay:2.3s}
.headline-node-icon{display:grid;place-items:center;width:26px;height:26px;flex-shrink:0;background:#fafafa;border:1px solid #eee;border-radius:6px;color:#888;font-size:17px}.headline-node small{display:block;color:#999;font-size:10px;line-height:1.5}.headline-node strong{display:block;color:#444;font-weight:500;font-size:11px;line-height:1.5;white-space:nowrap}.headline-node i{font-style:normal;color:#739381;font-size:10px;position:absolute;right:8px;top:7px;animation:headline-status 8s infinite}.headline-node-bl i,.headline-node-br i{animation-delay:2.3s}
@keyframes headline-flow{0%,8%{stroke-dashoffset:1;opacity:0}12%{opacity:1}45%,70%{stroke-dashoffset:0;opacity:1}90%,100%{stroke-dashoffset:0;opacity:0}}
@keyframes headline-node-pulse{0%,8%,90%,100%{border-color:#e5e5e5;transform:translateY(0)}20%,65%{border-color:#aab9da;transform:translateY(-3px)}}
@keyframes headline-status{0%,40%,90%,100%{opacity:0}50%,80%{opacity:1}}
@media(min-width:769px) and (max-width:1100px){.headline-node{width:160px;padding:8px;gap:6px}.headline-node strong{font-size:9px}.headline-node small{font-size:9px}.headline-node-icon{width:22px;height:22px}}
@media(max-width:768px){.headline-workflow{display:none}.headline-staging{padding:4px 6px;margin:-5px -6px;border-radius:8px}}
@media(prefers-reduced-motion:reduce){.headline-node,.headline-node i,.headline-wire-active path{animation:none}.headline-wire-active path{stroke-dashoffset:0;opacity:.5}}
.headline-port-left{left:20px;top:-4px;transform:none}

#main-content .workflow-first-screen .product-hero{min-height:680px;padding-bottom:100px}
.headline-second-line{display:block;margin-top:32px}
.headline-port-left{left:50%;top:-4px;transform:translateX(-50%)}
.headline-port-right{left:50%;right:auto;top:auto;bottom:-4px;transform:translateX(-50%)}
.headline-node-bl,.headline-node-br{top:392px}
@media(max-width:768px){#main-content .workflow-first-screen .product-hero{min-height:0;padding-bottom:64px}.headline-second-line{margin-top:16px}}

/* A diagonal workflow, with sources upper-left and destinations lower-right. */
.headline-workflow{height:660px}
.headline-node{width:180px;height:60px;padding:10px;gap:9px}
.headline-source-one{left:0;top:24px}.headline-source-two{left:204px;top:0}.headline-source-three{left:0;top:124px}
.headline-enrichment{right:0;top:344px;animation-delay:2.3s}.headline-audience{right:96px;top:490px;animation-delay:4.3s}
.headline-second-line{margin-top:0}
.headline-port-left{left:auto;right:-4px;top:36%;transform:translateY(-50%)}
.headline-port-right{left:auto;right:-4px;top:68%;bottom:auto;transform:translateY(-50%)}
.headline-wire-active path:nth-child(3){animation-delay:.8s}.headline-wire-active path:nth-child(4){animation-delay:2.3s}.headline-wire-active path:nth-child(5){animation-delay:4.3s}
.headline-node-icon{font-size:17px}
@media(min-width:769px) and (max-width:1100px){.headline-node{width:150px}.headline-source-two{left:168px}.headline-audience{right:64px}}
@media(max-width:768px){.headline-port-left,.headline-port-right{display:none}}
.headline-source-one{top:64px}.headline-source-two{top:32px}.headline-source-three{top:160px}

/* Balanced, recessed branches frame the central staging headline. */
.headline-node{width:174px;height:60px;opacity:.82}
.headline-source-one{left:20px;top:56px}.headline-source-two{left:100px;top:166px}
.headline-source-three{left:auto;right:20px;top:56px}.headline-source-four{left:auto;right:100px;top:166px}
.headline-enrichment{right:auto;left:40px;top:368px}.headline-email{right:40px;top:368px;animation-delay:2.3s}
.headline-audience{right:140px;top:508px;animation-delay:4.3s}
.headline-port-left{left:50%;right:auto;top:-4px;transform:translateX(-50%)}
.headline-port-right{left:auto;right:-4px;top:68%;bottom:auto;transform:translateY(-50%)}
.headline-wire-active path:nth-child(-n+4){animation-delay:0s}.headline-wire-active path:nth-child(5),.headline-wire-active path:nth-child(6){animation-delay:2.3s}.headline-wire-active path:nth-child(7){animation-delay:4.3s}
@media(min-width:769px) and (max-width:1100px){.headline-node{width:150px}.headline-source-one{left:0}.headline-source-two{left:12px}.headline-source-three{right:0}.headline-source-four{right:12px}.headline-enrichment{left:0}.headline-email{right:0}.headline-audience{right:48px}}
.headline-second-line{margin-top:28px}
.headline-staging:after{content:'';position:absolute;left:50%;bottom:-4px;width:7px;height:7px;border:1px solid #aab9da;border-radius:50%;background:#fff;transform:translateX(-50%)}
/* Keep only two sources above; spread the remaining work across the lower canvas. */
.headline-source-one{top:80px}.headline-source-three{top:80px}
.headline-source-two{left:20px;top:500px}
.headline-source-four{left:232px;right:auto;top:548px}
.headline-enrichment{left:40px;top:340px}.headline-email{right:40px;top:340px}
.headline-audience{right:100px;top:500px}
.headline-wire-base{stroke:#e8e9ec}.headline-wire-active{stroke:#bbc6dc;opacity:.65}
#main-content .workflow-first-screen .product-hero-message>p,.headline-second-line{text-shadow:0 0 8px #fff,0 0 4px #fff}
@media(min-width:769px) and (max-width:1100px){.headline-source-two{left:0}.headline-source-four{left:174px}.headline-audience{right:24px}}

/* Mirrored lower branches each represent a meaningful next step. */
.headline-source-two{left:100px;top:500px}
@media(min-width:769px) and (max-width:1100px){.headline-source-two{left:24px}}
.headline-wire-active path:nth-child(-n+2){animation-delay:0s}
.headline-wire-active path:nth-child(3),.headline-wire-active path:nth-child(4){animation-delay:2.3s}
.headline-wire-active path:nth-child(5),.headline-wire-active path:nth-child(6){animation-delay:4.3s}
.headline-source-two{animation-delay:4.3s}
/* One headline node, with separate side inputs and outputs. */
.headline-staging{padding:18px 24px;margin:-19px -25px;border-radius:14px;white-space:nowrap}
.headline-second-line{margin-top:0}
.headline-staging:after{display:none}
.headline-port-left{left:-4px;right:auto;top:30%;bottom:auto;transform:translateY(-50%)}
.headline-port-right{right:-4px;left:auto;top:30%;bottom:auto;transform:translateY(-50%)}
.headline-output-left{left:-4px;top:76%;transform:translateY(-50%)}
.headline-output-right{right:-4px;top:76%;transform:translateY(-50%)}
@media(max-width:768px){.headline-staging{white-space:normal;padding:14px 12px;margin:-15px -13px}.headline-output-left,.headline-output-right{display:none}}
#main-content .workflow-first-screen .product-hero-message>p{margin-top:36px}
/* A quiet run sequence: sources, staging, enrichments, then destinations. */
.headline-run-outline{position:absolute;inset:-1px;width:calc(100% + 2px);height:calc(100% + 2px);overflow:visible;pointer-events:none;border-radius:inherit}
.headline-run-outline rect{fill:none;stroke:#aab9da;stroke-width:1.5;stroke-dasharray:.18 .82;stroke-dashoffset:1;opacity:0;animation:staging-perimeter 12s linear infinite}
@keyframes staging-perimeter{0%,12%{opacity:0;stroke-dashoffset:1}18%{opacity:1}65%{opacity:1;stroke-dashoffset:-1}74%,100%{opacity:0;stroke-dashoffset:-1.2}}
.headline-node{animation:none;transition:border-color .35s,background .35s}
.headline-node i{animation:none;opacity:0;transition:opacity .3s}
.headline-node.is-running{border-color:#aab9da;background:#fcfdff}
.headline-node.is-complete i{opacity:1}
.headline-run-note{position:absolute;left:12px;bottom:calc(100% + 7px);display:flex;align-items:center;gap:6px;white-space:nowrap;padding:5px 8px;border:1px solid #e8e8e8;border-radius:6px;background:#fff;color:#888;font:400 10px/14px Inter,sans-serif;opacity:0;transform:translateY(5px);transition:opacity .3s,transform .3s;box-shadow:0 2px 8px #00000003}
.headline-node.is-running .headline-run-note,.headline-node.is-complete .headline-run-note{opacity:1;transform:translateY(0)}
.headline-run-note:before{content:'';width:8px;height:8px;border:1px solid #dce1e9;border-top-color:#6f8dbd;border-radius:50%;animation:headline-spinner .8s linear infinite}
.headline-node.is-complete .headline-run-note:before{content:'✓';width:auto;height:auto;border:0;color:#739381;animation:none}
@keyframes headline-spinner{to{transform:rotate(360deg)}}
.headline-wire-active path{animation-duration:12s!important}
@media(prefers-reduced-motion:reduce){.headline-run-outline rect,.headline-run-note:before{animation:none}.headline-run-outline rect{opacity:0}.headline-run-note{transition:none}}

/* A barely-there canvas, fading to white around the hero edges. */
#main-content .workflow-first-screen .product-hero:before{
  content:'';
  display:block;
  position:absolute;
  inset:0;
  width:auto;
  height:auto;
  z-index:0;
  pointer-events:none;
  opacity:1;
  background-image:radial-gradient(circle,rgba(0,0,0,.10) .7px,transparent .9px);
  background-size:20px 20px;
  -webkit-mask-image:radial-gradient(ellipse at 50% 45%,#000 12%,transparent 72%);
  mask-image:radial-gradient(ellipse at 50% 45%,#000 12%,transparent 72%);
  mask-composite:add;
}
