/* Block: argos/hero */
.hero {
  padding-top: 154px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 7% 30%, rgba(97,24,215,.08), transparent 33%),
    radial-gradient(circle at 96% 18%, rgba(29,214,190,.13), transparent 27%),
    var(--paper-wash);
}
.hero::before {
  content: "";
  position: absolute;
  width: 720px;
  height: 720px;
  right: -330px;
  top: -360px;
  border: 1px solid rgba(97,24,215,.14);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(97,24,215,.025), 0 0 0 160px rgba(97,24,215,.018);
}
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 68px; align-items: center; min-height: 670px; padding-bottom: 80px; }
.hero-grid.hero-grid-single { grid-template-columns: 1fr; min-height: 0; }
.eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 24px; }
.eyebrow span {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .72rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.eyebrow span:first-child { color: var(--violet); background: rgba(97,24,215,.06); border-color: rgba(97,24,215,.16); }
.hero h1 { max-width: 700px; margin-bottom: 28px; font-size: clamp(3.4rem, 4.8vw, 5.2rem); font-weight: 800; }
.hero-lead { max-width: 660px; margin-bottom: 32px; color: #403d47; font-size: clamp(1.04rem, 1.45vw, 1.24rem); line-height: 1.65; }
.hero-support { max-width: 620px; margin: -10px 0 28px; font-weight: 800; letter-spacing: -.01em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.hero-note { margin: 26px 0 0; color: var(--muted); font-size: .84rem; }
.hero-note span { color: var(--mint); margin-right: 8px; }

/* Workflow illustration (template-parts/illustrations/workflow-scene.php) */
.workflow-scene {
  min-width: 0;
  border: 1px solid rgba(17,16,21,.15);
  border-radius: 30px;
  overflow: hidden;
  background: var(--field);
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}
.scene-topline { height: 52px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; border-bottom: 1px solid var(--line); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.live-indicator { color: var(--muted); display: flex; align-items: center; gap: 7px; }
.live-indicator i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 5px rgba(29,214,190,.14); }
.workflow-canvas { position: relative; min-height: 520px; overflow: hidden; background-image: linear-gradient(rgba(17,16,21,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(17,16,21,.04) 1px, transparent 1px); background-size: 28px 28px; }
.workflow-lines { position: absolute; inset: 0 0 auto; width: 100%; height: 420px; }
.workflow-lines path { fill: none; stroke: rgba(17,16,21,.18); stroke-width: 1.5; stroke-dasharray: 5 7; }
.workflow-lines .flow-accent { stroke: url(#flow-gradient); stroke-width: 2.5; stroke-dasharray: 2 8; animation: flowDash 9s linear infinite; }
@keyframes flowDash { to { stroke-dashoffset: -200; } }
.flow-node { position: absolute; width: 172px; min-height: 68px; padding: 12px 13px; display: flex; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 14px; background: var(--card); box-shadow: 0 12px 25px rgba(25,18,36,.08); }
.flow-node b, .flow-node small { display: block; line-height: 1.25; }
.flow-node b { font-size: .75rem; }
.flow-node small { margin-top: 4px; color: var(--muted); font-size: .62rem; }
.source-one { left: 20px; top: 48px; }
.source-two { left: 20px; top: 194px; }
.source-three { left: 20px; top: 338px; }
.result-one { right: 18px; top: 76px; }
.result-two { right: 18px; top: 300px; }
.node-icon { width: 36px; height: 36px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 9px; background: var(--field); font-size: .53rem; font-weight: 900; color: var(--violet); }
.grid-icon { grid-template-columns: repeat(2, 6px); gap: 3px; }
.grid-icon i { width: 6px; height: 6px; border-radius: 2px; background: currentColor; }
.doc-icon::before { content: ""; width: 14px; height: 18px; border: 2px solid currentColor; border-radius: 2px; box-shadow: inset 0 -5px 0 rgba(97,24,215,.14); }
.spark-icon { background: rgba(29,214,190,.15); color: #058a78; font-size: 1.1rem; }
.orchestrator-node { position: absolute; left: 50%; top: 205px; width: 112px; height: 112px; transform: translate(-50%, -50%); display: grid; place-content: center; text-align: center; border-radius: 50%; color: var(--white); background: var(--ink); box-shadow: 0 20px 40px rgba(17,16,21,.28); }
.orchestrator-node b { margin-top: 6px; font-size: .72rem; }
.orchestrator-node small { color: rgba(255,255,255,.6); font-size: .55rem; }
.orchestrator-mark { width: 28px; height: 28px; margin: 0 auto; border: 2px solid var(--mint); border-radius: 50% 50% 8px 50%; transform: rotate(45deg); }
.orbit { position: absolute; inset: -14px; border: 1px solid rgba(97,24,215,.25); border-radius: 50%; }
.orbit-two { inset: -26px; border-style: dashed; animation: orbitRotate 16s linear infinite; }
@keyframes orbitRotate { to { transform: rotate(360deg); } }
.status-dot { position: absolute; width: 8px; height: 8px; right: 10px; top: 10px; border-radius: 50%; background: var(--mint); }
.workflow-caption { position: absolute; inset: auto 18px 18px; padding: 15px 16px; display: grid; grid-template-columns: 34px 1fr; gap: 10px; border: 1px solid rgba(97,24,215,.15); border-radius: 13px; background: rgba(247,245,240,.93); backdrop-filter: blur(10px); }
.workflow-caption > span { color: var(--violet); font-size: .72rem; font-weight: 900; }
.workflow-caption p { margin: 0; color: var(--muted); font-size: .68rem; line-height: 1.45; }
.workflow-caption b { color: var(--ink); }

/* Marquee */
.hero-marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card-glass); }
.hero-marquee div { min-width: max-content; height: 64px; display: flex; align-items: center; gap: 34px; padding-left: 20px; animation: marquee 28s linear infinite; }
.hero-marquee span { font-size: .75rem; font-weight: 900; text-transform: uppercase; letter-spacing: .14em; }
.hero-marquee i { width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(135deg, var(--violet), var(--mint)); }
@keyframes marquee { to { transform: translateX(-50%); } } /* items are rendered twice: -50% loops seamlessly */

@media (max-width: 1050px) {
  .hero-grid { grid-template-columns: 1fr; gap: 54px; }
  .hero-copy { max-width: 850px; }
  .workflow-scene { width: min(100%, 670px); margin-inline: auto; }
}

@media (max-width: 760px) {
  .hero { padding-top: 118px; }
  .hero-grid { min-height: auto; padding-bottom: 60px; }
  .hero h1 { font-size: clamp(3.25rem, 14vw, 5rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-actions .text-link { align-self: flex-start; }
  .workflow-canvas { min-height: 500px; }
  .flow-node { width: 142px; padding: 10px; }
  .source-one, .source-two, .source-three { left: 10px; }
  .result-one, .result-two { right: 10px; }
  .orchestrator-node { width: 90px; height: 90px; }
  .workflow-caption { inset-inline: 10px; }
}

@media (max-width: 430px) {
  .hero h1 { font-size: 3.3rem; }
  .eyebrow span:last-child:not(:first-child) { display: none; }
  .scene-topline { font-size: .58rem; }
  .workflow-scene { transform: none; }
  .flow-node { width: 125px; min-height: 62px; }
  .flow-node .node-icon, .flow-node .approval-avatar { width: 28px; height: 28px; }
  .flow-node b { font-size: .66rem; }
  .flow-node small { font-size: .55rem; }
  .orchestrator-node { width: 80px; height: 80px; }
  .orchestrator-node b { font-size: .62rem; }
  .workflow-caption { grid-template-columns: 26px 1fr; }
}
