/* Hero verification mark and Operating Model. */
html[data-theme="light"] body#top .hero[data-delivery-theater] h1 .grad { background: none !important; -webkit-text-fill-color: currentColor !important; animation: none !important; }
html[data-theme="light"] body#top .hero[data-delivery-theater] .fx-verified { color: #111; }
html[data-theme="light"] body#top .hero[data-delivery-theater] .fx-verified svg { display: none; }
.hero-verification { white-space: nowrap; }
.hero-verification-word {
  position: relative;
  display: inline-block;
  animation: headline-word .62s .10s cubic-bezier(.2,.75,.25,1) both;
}
.hero-verification-word::after {
  content: '';
  position: absolute;
  inset: auto 0 .025em;
  height: max(2px,.045em);
  border-radius: 2px;
  background: #23825a;
  transform-origin: left;
  animation: headline-underline .58s .20s cubic-bezier(.22,.7,.22,1) both;
}
.hero-verification-mark {
  display: inline-grid;
  place-items: center;
  width: .60em;
  height: .60em;
  margin-inline-start: .20em;
  vertical-align: .10em;
  border: 1px solid #b7dec9;
  border-radius: 8px;
  background: #e8f6ee;
  color: #177648;
  animation: headline-stamp .42s .48s cubic-bezier(.2,.75,.25,1) both;
}
.hero-verification-mark svg { display: block; width: 72%; height: 72%; }
:is(.hero-verification-mark,.flow-pr-seal) path { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; }
.hero-verification-mark path { animation: headline-check .38s .69s ease-out both; }
@keyframes headline-word { from { transform: translateY(2px); } to { transform: none; } }
@keyframes headline-underline { from { transform: scaleX(0); } to { transform: none; } }
@keyframes headline-stamp { from { opacity: 0; transform: translateY(4px) scale(.88); } to { opacity: 1; transform: none; } }
@keyframes headline-check { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
html[data-theme="light"] body#top .hero[data-delivery-theater] :is(.fx-aurora,.fx-cursor-glow) { display: none !important; }
html[data-theme="light"] body#top .hero[data-delivery-theater] .eyebrow .dot { background: #111 !important; }
html[data-theme="light"] body#top .hero[data-delivery-theater] .works-with { justify-content: flex-start; }
.fx-ring,.fx-dot { display: none !important; }

body#top #model .delivery-flow { margin: 6px 0 0; color: #161616; }
.delivery-flow *, .delivery-flow *::before, .delivery-flow *::after { box-sizing: border-box; letter-spacing: 0 !important; }
.flow-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 36px; }
.flow-heading > p { margin: 0; color: #565656; font-size: 15px; line-height: 1.55; }
.flow-controls { display: flex; align-items: center; gap: 4px; }
.flow-controls button { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; color: #141414; border: 1px solid #e4e4e4; border-radius: 6px; background: #fff; cursor: pointer; }
.flow-controls button:hover { background: #f4f4f4; border-color: #bcbcbc; }
.flow-controls button[hidden] { display: none; }
.flow-controls button:focus-visible,.flow-principles summary:focus-visible { outline: 2px solid #111; outline-offset: 3px; }
.flow-scene { --flow-duration: 11s; position: relative; isolation: isolate; margin-top: 16px; }
.flow-traces { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; pointer-events: none; }
.flow-track { stroke: #c9c9c9; }
.flow-track-return { stroke: #bdbdbd; stroke-dasharray: 3 4; }
.flow-pulse { stroke: #1b1b1b; stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 12 110; stroke-dashoffset: 12; opacity: 0; }
.flow-pulse-return { stroke-width: 1.5; stroke-dasharray: 3 101; }
.flow-stages { position: relative; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)) minmax(0,1.25fr) repeat(2,minmax(0,1fr)); gap: 10px; margin: 0; padding: 0 18px; list-style: none; }
.flow-stage { min-width: 0; text-align: center; }
.flow-stage strong { display: block; color: #222; font-size: 14px; line-height: 1.35; font-weight: 650; }
.flow-stage p { max-width: 172px; margin: 5px auto 0; color: #666; font-size: 12px; line-height: 1.45; }
.flow-emblem { position: relative; display: grid; justify-items: center; align-items: center; min-height: 82px; }
.flow-emblem > div { position: relative; }
.flow-context-chip,.flow-request-ticket,.flow-verify-module,.flow-pr-sheet { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid #b9b9b9; border-radius: 7px; background: #fff; box-shadow: 0 6px 10px -8px #17171780; }
.flow-context-chip { background: #f6f6f6; box-shadow: 3px 3px 0 -1px #fff, 3px 3px #d4d4d4, 6px 6px 0 -1px #fff, 6px 6px #e0e0e0; }
.flow-request-ticket::after { content: ''; position: absolute; left: 9px; right: 9px; bottom: 6px; height: 1px; background: #e4e4e4; }

.flow-robot-crew { width: 116px; max-width: 100%; padding-top: 9px; }
.flow-robot-heads,.flow-repos { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); justify-items: center; align-items: end; }
.flow-robot-heads { position: relative; z-index: 1; margin-bottom: 3px; }
.flow-repo-fork { display: block; width: 100%; height: 12px; fill: none; stroke: #a5a5a5; }
.flow-repo-fork path { vector-effect: non-scaling-stroke; }
.flow-repos { list-style: none; margin: 0; padding: 0; }
.flow-repos li { min-width: 24px; padding: 1px 3px; border: 1px solid #d8d8d8; border-radius: 3px; background: #fff; color: #454545; font: 500 9px/12px var(--mono); text-align: center; }
.flow-bot { position: relative; display: grid; place-items: center; width: 23px; height: 23px; border: 1px solid #aaa; border-radius: 6px; background: linear-gradient(#fff,#d9d9d9); box-shadow: 0 3px 0 -1px #b6b6b6,0 7px 8px -6px #171717a6; }
.flow-bot::before { content: ''; position: absolute; width: 1px; height: 5px; bottom: 100%; left: calc(50% - .5px); background: #888; }
.flow-bot::after { content: ''; position: absolute; width: 4px; height: 4px; bottom: calc(100% + 4px); left: calc(50% - 2px); border: 1px solid #858585; border-radius: 50%; background: #e9e9e9; }
.flow-bot i { display: grid; grid-template-columns: repeat(2,3px); align-content: center; justify-content: space-evenly; width: 16px; height: 10px; border-radius: 3px; background: #262626; }
.flow-bot i::before,.flow-bot i::after { content: ''; width: 3px; height: 4px; border-radius: 1px; background: #fff; }
.flow-bot-lead { width: 38px; height: 33px; margin-bottom: 3px; border-color: #353535; background: linear-gradient(#444,#191919); box-shadow: 0 4px 0 -1px #121212,0 0 0 1px #fff,0 10px 12px -8px #17171799; }
.flow-bot-lead i { width: 27px; height: 15px; border: 1px solid #525252; background: #0c0c0c; }
.flow-bot-lead::before { height: 7px; background: #353535; }
.flow-bot-lead::after { bottom: calc(100% + 6px); background: #333; border-color: #232323; }
.flow-verify-module { place-content: center; gap: 4px; border-color: #171717; background: #1e1e1e; overflow: hidden; }
.flow-verify-module i { display: block; width: 24px; height: 5px; border-radius: 1px; background: #414141; border-right: 4px solid #bababa; }
.flow-verify-module::after { content: ''; position: absolute; inset: 0 0 auto; height: 1px; background: #e8f6ee; opacity: 0; }
.flow-pr-sheet { box-shadow: 3px 3px 0 -1px #fff, 3px 3px #d4d4d4; }
.flow-pr-sheet::after { content: ''; position: absolute; width: 22px; height: 22px; top: -7px; right: -7px; border: 1px solid #157649; border-radius: 50%; opacity: 0; pointer-events: none; }
.flow-pr-seal { position: absolute; width: 22px; height: 22px; top: -7px; right: -7px; padding: 2px; color: #fff; background: #157649; border: 2px solid #fff; border-radius: 50%; }
.flow-return-label { position: relative; width: fit-content; max-width: 80%; margin: 18px auto 0; padding: 0 10px; color: #646464; background: #fff; text-align: center; font-size: 11px; line-height: 18px; }
.flow-principles { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 0 20px; margin-top: 15px; border-top: 1px solid #e5e5e5; }
.flow-principles summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; padding: 8px 0; color: #353535; font-size: 12px; font-weight: 550; list-style: none; cursor: pointer; }
.flow-principles summary::-webkit-details-marker { display: none; }
.flow-principles summary::after { content: ''; width: 6px; height: 6px; margin-right: 4px; border-right: 1px solid #666; border-bottom: 1px solid #666; transform: translateY(-1px) rotate(45deg); flex: none; }
.flow-principles details[open] summary::after { transform: translateY(2px) rotate(225deg); }
.flow-principles p { margin: 0 0 12px; color: #565656; font-size: 12px; line-height: 1.55; }
html[data-agent-view="true"] .delivery-flow { display: none; }

.flow-animated .flow-pulse { animation: var(--relay) var(--flow-duration) linear infinite; }
.flow-pulse-context { --relay: flow-send-context; }
.flow-pulse-request { --relay: flow-send-request; }
.flow-pulse-build { --relay: flow-send-build; }
.flow-pulse-verify { --relay: flow-send-verification; }
.flow-pulse-return { --relay: flow-return; }
.flow-animated .flow-context-chip img { animation: flow-load-context var(--flow-duration) ease-in-out infinite; }
.flow-animated .flow-request-ticket img { animation: flow-file-request var(--flow-duration) ease-out infinite; }
.flow-animated .flow-bot { animation: flow-bot-work var(--flow-duration) ease-in-out var(--bot-delay, 0s) infinite; }
.flow-bot-lead { --bot-delay: .15s; }
.flow-bot:last-child { --bot-delay: .30s; }
.flow-animated .flow-bot i { animation: flow-bot-blink var(--flow-duration) linear var(--bot-delay, 0s) infinite; }
.flow-animated .flow-repo-fork path { animation: flow-repo-fork var(--flow-duration) linear infinite; }
.flow-animated .flow-repos li { animation: flow-repo-active var(--flow-duration) linear infinite; }
.flow-animated .flow-verify-module::after { animation: flow-scan var(--flow-duration) linear infinite; }
.flow-animated .flow-verify-module i { animation: flow-check-status var(--flow-duration) linear var(--check-delay, 0s) infinite; }
.flow-verify-module i:nth-child(2) { --check-delay: .18s; }
.flow-verify-module i:nth-child(3) { --check-delay: .36s; }
.flow-animated .flow-pr-seal { animation: flow-stamp var(--flow-duration) ease-out infinite; }
.flow-animated .flow-pr-seal path { animation: flow-check-draw var(--flow-duration) ease-out infinite; }
.flow-animated .flow-pr-sheet::after { animation: flow-stamp-impact var(--flow-duration) ease-out infinite; }
.delivery-flow.is-paused .flow-scene *, .delivery-flow.is-paused .flow-scene *::after { animation-play-state: paused !important; }
/* Each pulse arrives just before its destination responds. */
@keyframes flow-send-context { 0%,5% { stroke-dashoffset: 12; opacity: 0; } 7% { opacity: 1; } 13% { opacity: 1; stroke-dashoffset: -99; } 14%,100% { opacity: 0; stroke-dashoffset: -100; } }
@keyframes flow-send-request { 0%,17% { stroke-dashoffset: 12; opacity: 0; } 19% { opacity: 1; } 28% { opacity: 1; stroke-dashoffset: -99; } 29%,100% { opacity: 0; stroke-dashoffset: -100; } }
@keyframes flow-send-build { 0%,44% { stroke-dashoffset: 12; opacity: 0; } 46% { opacity: 1; } 52% { opacity: 1; stroke-dashoffset: -99; } 53%,100% { opacity: 0; stroke-dashoffset: -100; } }
@keyframes flow-send-verification { 0%,65% { stroke-dashoffset: 12; opacity: 0; } 67% { opacity: 1; } 73% { opacity: 1; stroke-dashoffset: -99; } 74%,100% { opacity: 0; stroke-dashoffset: -100; } }
@keyframes flow-return { 0%,83% { stroke-dashoffset: 4; opacity: 0; } 85% { opacity: 1; } 99% { opacity: 1; stroke-dashoffset: -100; } 100% { opacity: 0; stroke-dashoffset: -100; } }
@keyframes flow-load-context { 0%,8%,100% { transform: none; } 3% { transform: translateY(-3px); } }
@keyframes flow-file-request { 0%,12%,20%,100% { transform: none; } 16% { transform: translateY(-3px) scale(1.12); } }
@keyframes flow-bot-work { 0%,27%,51%,100% { transform: none; } 34% { transform: translateY(-6px) rotate(-5deg); } 40% { transform: translateY(-2px) rotate(4deg); } 45% { transform: translateY(-4px); } }
@keyframes flow-bot-blink { 0%,31%,33%,100% { transform: none; } 32% { transform: scaleY(.35); } }
@keyframes flow-repo-fork { 0%,27%,49%,100% { stroke: #a5a5a5; stroke-dasharray: 1; stroke-dashoffset: 0; } 28% { stroke: #2d2d2d; stroke-dashoffset: 1; } 37%,43% { stroke: #2d2d2d; stroke-dashoffset: 0; } }
@keyframes flow-repo-active { 0%,35%,50%,100% { border-color: #d8d8d8; background: #fff; } 38%,45% { border-color: #888; background: #f0f0f0; } }
@keyframes flow-scan { 0%,51% { transform: translateY(0); opacity: 0; } 54% { opacity: .85; } 63% { opacity: .85; transform: translateY(44px); } 65%,100% { opacity: 0; transform: translateY(44px); } }
@keyframes flow-check-status { 0%,55%,100% { border-right-color: #bababa; } 58%,97% { border-right-color: #8bdbb3; } }
@keyframes flow-stamp { 0%,73% { opacity: 0; transform: scale(.65); } 76% { opacity: 1; transform: scale(1.22); } 80%,98% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes flow-check-draw { 0%,74% { stroke-dashoffset: 1; } 79%,100% { stroke-dashoffset: 0; } }
@keyframes flow-stamp-impact { 0%,75% { opacity: 0; transform: scale(.85); } 76% { opacity: .6; } 83%,100% { opacity: 0; transform: scale(1.95); } }

@media (max-width: 650px) {
  .flow-heading { align-items: flex-start; }
  .flow-heading > p { font-size: 13px; }
  .flow-controls { flex: none; }
  .flow-controls button { width: 32px; height: 32px; }
  .flow-scene { margin-top: 13px; }
  .flow-stages { grid-template-columns: minmax(0,1fr); gap: 0; padding: 0 0 0 13px; }
  .flow-stage { display: grid; grid-template-columns: 98px minmax(0,1fr); gap: 9px; align-items: center; min-height: 71px; text-align: left; }
  .flow-emblem { min-height: 66px; }
  .flow-robot-crew { width: 98px; }
  .flow-bot-lead { width: 31px; }
  .flow-repos li { padding-inline: 2px; font-size: 8px; }
  .flow-stage p { max-width: none; margin: 3px 0 0; }
  .flow-return-label { margin: 4px 0 0 13px; padding: 0; }
  .flow-principles { grid-template-columns: minmax(0,1fr); }
  .flow-principles > details + details { border-top: 1px solid #eee; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-verification-word,.hero-verification-word::after,.hero-verification-mark,.hero-verification-mark path,.delivery-flow .flow-scene *, .delivery-flow .flow-scene *::after { animation: none !important; }
}
