/* Harness: a team of agents at work inside the custom system. Editorial and light, no dashboard tropes. */
.harness { padding-block:96px 96px; }
/* Clean paper for reading: the continuity planes fade out at the top of this section. */
.ai-continuity>.harness { background:linear-gradient(180deg,oklch(98.7% .0017 145.56 / 0),var(--paper) 96px); }
.harness-layout { position:relative; z-index:1; }
/* Header stacked on the left edge of the card below. */
.harness-head { display:block; }
.harness-intro { padding-right:0; }
.harness .journey-eyebrow { margin-bottom:20px; }
.harness h2 { font-size:clamp(38px,3.4vw,52px); line-height:1.06; letter-spacing:-.038em; }
.harness h2 span { display:block; color:var(--green-dark); text-wrap:balance; }
.harness-lead { max-width:560px; margin-top:22px; font-size:18px; line-height:1.55; color:var(--muted); text-wrap:pretty; }

/* The agent team: a deep-green stage for contrast with the page, with light, minimal elements on it. */
.harness-figure { position:relative; margin:40px 0 0; }
.team-card { --spring:cubic-bezier(.22,.9,.24,1); --wire-1:#88e5b8; --wire-2:#b4f0d2; --tip-1:#f4fff9; --tip-2:#9ff0c8; --deep:#1c3d34; --vivid:#10b268; --mint:oklch(84% .1 160); --approve:oklch(88% .05 85); --approve-ink:oklch(52% .07 75); overflow:hidden; border:1px solid var(--line); border-radius:16px; background:#fff; box-shadow:0 30px 70px -56px oklch(28% .03 160 / .35); }
@supports (transition-timing-function:linear(0,1)) { .team-card { --spring:linear(0, 0.0446, 0.1443, 0.2642, 0.3849, 0.4963, 0.594, 0.6768, 0.7452, 0.8009, 0.8454, 0.8807, 0.9084, 0.93, 0.9467, 0.9596, 0.9694, 0.9769, 0.9826, 0.987, 0.9902, 0.9927, 0.9946, 0.9959, 1); } }
/* Brand green with a world map in tiny squares (built by harness.js) that drifts slowly sideways, with a few mint
   squares flickering on land. It fades in when the team starts. */
.team-stage { position:relative; isolation:isolate; overflow:hidden; color:#fff; background:#1c3d34; }
.team-nano { position:absolute; inset:0; z-index:-1; overflow:hidden; pointer-events:none; opacity:0; transition:opacity 1.4s ease; }
.team-nano.is-built { opacity:1; }
.team-world { position:absolute; background-repeat:repeat-x; animation:team-world 80s linear infinite; will-change:transform; }
@keyframes team-world { to { transform:translateX(calc(-1 * var(--map-w))); } }
.team-world-flicker { position:absolute; inset:0; width:100%; height:100%; }
.team-world-flicker rect { fill:var(--mint); opacity:0; animation:team-flicker var(--t) ease-in-out var(--d) infinite; }
@keyframes team-flicker { 0%,100% { opacity:0; } 50% { opacity:.45; } }
.agent-team:not(.is-visible) :is(.team-world,.team-world-flicker rect) { animation-play-state:paused; }   /* only moves while on screen */
/* Map: four columns joined by hairline wires. */
.team-map { position:relative; display:grid; grid-template-columns:150px minmax(0,1fr) minmax(0,1fr) 180px; column-gap:56px; padding:46px 28px 26px; }
.team-wires { position:absolute; inset:0; z-index:0; width:100%; height:100%; overflow:visible; pointer-events:none; }
.team-wires .team-wire { fill:none; stroke:oklch(100% 0 0 / .12); stroke-width:1.25; }
.team-wires .team-flow { fill:none; stroke-width:1.6; stroke-linecap:round; }
/* Light: a blurred halo under the core, a diffuse tip while drawing, a passing filament once done. */
.team-wires .team-glow { fill:none; stroke:oklch(84% .12 160); stroke-width:5; stroke-linecap:round; opacity:.2; }
.team-wires .team-shimmer { fill:none; stroke:#f2fff8; stroke-width:2; stroke-linecap:round; stroke-dasharray:28px calc(var(--len) * 1px); stroke-dashoffset:28px; opacity:0; filter:drop-shadow(0 0 3px oklch(86% .12 160)); }

.team-wires .team-tip { opacity:0; }
/* No markers at the ends: a soft glow where a wire touches the card it reaches. */
.team-wires .team-landing { fill:var(--mint); opacity:0; transition:opacity .8s var(--spring); }
.team-wires .team-landing.is-on { opacity:.45; }
.team-wires .team-landing.is-dup { display:none; }
.team-col { position:relative; z-index:1; display:flex; flex-direction:column; justify-content:space-around; gap:14px; margin:0; padding:0; list-style:none; }
.team-col-label { position:absolute; top:-30px; left:0; font-size:11px; font-weight:500; letter-spacing:.08em; text-transform:uppercase; color:oklch(84% .1 160 / .85); }
/* System data: the quietest cards on the stage. An outlined square marks data, where agents have a filled
   square and people a circle. The edge the wires leave from lights up once the data is being read. */
.team-source { display:grid; grid-template-columns:30px minmax(0,1fr); gap:11px; align-items:center; height:62px; padding:0 12px 0 13px; border:1px solid oklch(100% 0 0 / .1); border-radius:13px;
  background:linear-gradient(180deg,oklch(100% 0 0 / .055),oklch(100% 0 0 / .02));
  box-shadow:inset 0 1px 0 oklch(100% 0 0 / .07); }
.team-source-icon { display:grid; place-items:center; width:30px; height:30px; border-radius:8px; border:1px solid oklch(100% 0 0 / .16); color:var(--mint); transition:background .6s var(--spring),border-color .6s var(--spring); }
.team-source .icon { width:15px; height:15px; }
.team-source>div { min-width:0; }
.team-source strong { display:block; font-size:13px; font-weight:500; line-height:1.3; letter-spacing:-.01em; color:#fff; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.team-source em { display:block; margin-top:1px; font-style:normal; font-size:11.5px; line-height:1.4; font-variant-numeric:tabular-nums; color:oklch(100% 0 0 / .58); white-space:nowrap; }
.team-source.is-lit { border-color:oklch(84% .1 160 / .22); box-shadow:inset 0 1px 0 oklch(100% 0 0 / .07),inset -2px 0 0 oklch(84% .1 160 / .5); }
.team-source.is-lit .team-source-icon { border-color:oklch(84% .1 160 / .4); background:oklch(84% .1 160 / .1); }
.team-agents-next { justify-content:flex-end; }

/* Agent card: icon, name, and one line with the result (or what it is doing now). */
.team-agent { --lift:0px; position:relative; display:grid; grid-template-columns:30px minmax(0,1fr); column-gap:12px; align-items:center; min-height:62px; padding:12px 18px 12px 12px; border:0; border-radius:13px; color:var(--ink);
  /* Material: frosted white glass. The green and the light of the stage show faintly through it;
     light on the top edge, a hairline rim, a soft shade at the base. */
  background:linear-gradient(180deg,oklch(100% 0 0 / .9) 0%,oklch(100% 0 0 / .84) 55%,oklch(99% .01 160 / .8) 100%);
  -webkit-backdrop-filter:blur(16px) saturate(170%) brightness(1.9); backdrop-filter:blur(16px) saturate(170%) brightness(1.9);
  box-shadow:inset 0 1px 0 oklch(100% 0 0 / .95),inset 0 0 0 1px oklch(100% 0 0 / .35),inset 0 -1px 0 oklch(90% .02 160 / .6),0 1px 1px oklch(14% .03 165 / .3),0 6px 14px -6px oklch(12% .03 165 / .5),0 22px 34px -22px oklch(10% .03 165 / .65);
  translate:0 var(--lift); }
.team-agent.is-working { --lift:-2px; box-shadow:inset 0 1px 0 oklch(100% 0 0 / .95),inset 0 -1px 0 oklch(90% .02 160 / .6),0 0 0 2px var(--mint),0 10px 20px -8px oklch(12% .03 165 / .6),0 28px 44px -24px oklch(10% .03 165 / .75); }
.team-icon { position:relative; overflow:hidden; display:grid; place-items:center; width:30px; height:30px; border-radius:8px; background:oklch(96% .02 160); color:var(--green-dark); transition:background .6s var(--spring),color .6s var(--spring); }
.team-icon .icon { width:15px; height:15px; }
/* Working: the icon tile turns into three squares sliding around a 2×2 grid, one move at a time. */
.team-icon { position:relative; overflow:hidden; }
.team-icon .icon { transition:opacity .4s var(--spring),scale .5s var(--spring); }
.team-loader { position:absolute; left:50%; top:50%; width:12px; height:12px; margin:-6px 0 0 -6px; opacity:0; scale:.6; transition:opacity .4s var(--spring),scale .5s var(--spring); }
.team-loader i { position:absolute; left:0; top:0; width:5px; height:5px; border-radius:1.5px; background:var(--mint); animation:team-slide .9s infinite; }
.team-loader i:nth-child(1) { background:#fff; animation-delay:-.45s; }
.team-loader i:nth-child(2) { animation-delay:-.15s; }
.team-loader i:nth-child(3) { background:var(--vivid); animation-delay:-.75s; }
.team-agent.is-working .team-icon .icon { opacity:0; scale:.6; }
.team-agent.is-working .team-loader { opacity:1; scale:1; }
.agent-team:not([data-run="play"]) .team-loader i { animation-play-state:paused; }
@keyframes team-slide {
  0% { translate:0 0; animation-timing-function:cubic-bezier(.6,0,.2,1); }
  8.333% { translate:7px 0; }
  25% { translate:7px 0; animation-timing-function:cubic-bezier(.6,0,.2,1); }
  33.333% { translate:7px 7px; }
  50% { translate:7px 7px; animation-timing-function:cubic-bezier(.6,0,.2,1); }
  58.333% { translate:0 7px; }
  75% { translate:0 7px; animation-timing-function:cubic-bezier(.6,0,.2,1); }
  83.333% { translate:0 0; }
  100% { translate:0 0; }
}
.team-agent.is-working .team-icon,.team-agent.is-done .team-icon { background:linear-gradient(160deg,#2a5a4c 0%,var(--deep) 55%,#163128 100%); color:#fff; box-shadow:inset 0 1px 0 oklch(100% 0 0 / .18),0 1px 2px oklch(12% .03 165 / .35); }
.team-agent-main { min-width:0; }
.team-agent-line { display:flex; align-items:center; min-width:0; }
.team-agent strong { font-size:14px; font-weight:500; line-height:1.3; letter-spacing:-.012em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.team-agent-sub { display:grid; grid-template-columns:minmax(0,1fr); margin-top:1px; min-width:0; }   /* one column the width of the card, so long lines end in … instead of being cut by the card's edge */
.team-result { grid-area:1 / 1; display:flex; align-items:baseline; gap:4px; min-width:0; transition:opacity .3s var(--spring) .1s,translate .4s var(--spring) .1s; }   /* comes in just after the activity has gone, so the two lines never overlap */
.team-result b { font-size:11.5px; font-weight:400; line-height:1.4; font-variant-numeric:tabular-nums; color:var(--muted); white-space:nowrap; }
.team-result span { font-size:11.5px; line-height:1.4; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.team-agent[data-final="approval"] .team-result span { color:var(--approve-ink); }
.team-activity { grid-area:1 / 1; align-self:center; opacity:0; translate:0 -4px; transition:opacity .12s ease-out,translate .3s var(--spring); font-size:11.5px; line-height:1.4; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.agent-team:is([data-run="pending"],[data-run="play"]) .team-agent:not(.is-done) .team-result { opacity:0; translate:0 4px; }
.agent-team:is([data-run="pending"],[data-run="play"]) .team-agent:not(.is-done) .team-activity { opacity:1; translate:0 0; }

/* People: initials and a line of text, no box. */
/* Team members: plain and human, no glass, glow or filled badges. A flat outline like the data cards, an
   outlined circle with initials, the name, and what is left for the person in quiet text. */
.team-person { display:grid; grid-template-columns:32px minmax(0,1fr); gap:11px; align-items:center; height:62px; padding:0 14px 0 13px; border:1px solid oklch(100% 0 0 / .1); border-radius:13px; background:oklch(100% 0 0 / .03); }
.team-person>span { display:grid; place-items:center; width:32px; height:32px; border-radius:50%; border:1px solid oklch(100% 0 0 / .22); font-size:11px; font-weight:500; letter-spacing:.04em; color:oklch(100% 0 0 / .7); transition:border-color .6s var(--spring),color .6s var(--spring); }
.team-person>div { min-width:0; }
/* Name, and the time the work reached this person on the story's clock. */
.team-person-line { display:flex; align-items:baseline; justify-content:space-between; gap:8px; min-width:0; }
.team-person time { flex:none; font-size:10.5px; font-variant-numeric:tabular-nums; color:oklch(100% 0 0 / .45); transition:opacity .6s var(--spring); }
.agent-team:is([data-run="pending"],[data-run="play"]) .team-person:not(.is-reached) time { opacity:0; }
.team-person strong { display:block; font-size:14px; font-weight:500; line-height:1.3; letter-spacing:-.012em; color:#fff; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.team-person em { display:block; margin-top:1px; font-style:normal; font-size:11.5px; line-height:1.4; color:oklch(100% 0 0 / .62); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
/* Reached: the outline firms up a little; the person who has to approve reads in sand. */
.team-person.is-reached { border-color:oklch(100% 0 0 / .16); }
.team-person.is-reached>span { border-color:oklch(100% 0 0 / .5); color:#fff; }
.team-person.is-approval em { color:var(--approve); }
.team-person.is-approval.is-reached>span { border-color:var(--approve); color:var(--approve); }
.agent-team[data-run="play"] .team-person:not(.is-reached) em,.agent-team[data-run="pending"] .team-person em { font-size:0; }
/* Until the work reaches a person, their task is a skeleton bar (on the dark glass). */
.agent-team[data-run="play"] .team-person:not(.is-reached) em::before,.agent-team[data-run="pending"] .team-person em::before { content:""; display:block; width:118px; max-width:100%; height:8px; margin:4px 0 4px; border-radius:4px;
  background:linear-gradient(90deg,oklch(100% 0 0 / .07) 0%,oklch(100% 0 0 / .17) 50%,oklch(100% 0 0 / .07) 100%) 0 0 / 200% 100%; animation:team-skeleton 1.6s linear infinite; }

/* Elements the story has not reached yet are faded; they come in once and stay. */
.agent-team:is([data-run="pending"],[data-run="play"]) :is(.team-source,.team-agent,.team-person):not(.is-lit) { opacity:.32; }
.team-source,.team-agent,.team-person { transition-property:opacity,box-shadow,background,color,border-color,translate; transition-duration:.45s; transition-timing-function:var(--spring); }

/* Deliveries: a light timeline under the map. */
.team-timeline { padding:18px 28px 24px; border-top:1px solid oklch(100% 0 0 / .1); }
.team-timeline-label { font-size:11px; font-weight:500; letter-spacing:.08em; text-transform:uppercase; color:oklch(84% .1 160 / .85); }
.team-feed { --step:5; position:relative; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); margin:14px 0 0; padding:0; list-style:none; }
.team-feed::before,.team-feed::after { content:""; position:absolute; top:4px; left:4px; height:1px; }
.team-feed::before { right:calc(20% - 4px); background:oklch(100% 0 0 / .16); }
.team-feed::after { width:calc(max(var(--step) - 1,0) * 20%); max-width:calc(80% - 4px); background:var(--mint); transition:width .8s var(--spring); }
.team-feed li { position:relative; z-index:1; padding:18px 20px 0 0; transition:opacity .6s var(--spring); }
.team-feed li::before { content:""; position:absolute; top:0; left:0; width:9px; height:9px; box-sizing:border-box; border-radius:50%; border:1.5px solid oklch(100% 0 0 / .35); background:var(--deep); transition:background .5s var(--spring),border-color .5s var(--spring); }
.team-feed li.is-shown::before { border-color:var(--mint); background:var(--mint); }
.team-feed li.is-wait.is-shown::before { border-color:var(--approve); background:var(--approve); }
.team-feed time { display:block; font-size:12px; color:oklch(100% 0 0 / .55); font-variant-numeric:tabular-nums; }
.team-feed p { margin-top:3px; font-size:14px; line-height:1.4; color:#fff; }
.team-feed b { font-weight:500; }
.team-feed em { margin:0 6px; font-style:normal; color:var(--mint); }
.team-feed span { display:block; margin-top:2px; font-size:13px; line-height:1.45; color:oklch(100% 0 0 / .65); }
.team-feed .is-wait span { color:var(--approve); }
.team-feed .is-ok span::after { content:" ✓"; color:var(--mint); font-weight:600; }
.agent-team:is([data-run="pending"],[data-run="play"]) .team-feed li:not(.is-shown) { opacity:.35; }
.team-feed li.is-new { animation:agent-in .4s ease both; }

/* Gains, proven by the run above. */

/* Window footer: the run's results at the bottom of the system window, on white for contrast with the green.
   While the team works the values wait as faint ghosts; when it finishes they settle in one after another. */
.team-foot { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)) auto; min-height:72px; padding:0 28px; background:#fff; color:var(--ink); }
/* The call to action closes the card, at the end of the results row. */
.team-foot-cta { display:flex; align-items:center; padding-left:24px; }
.team-foot-cta .button { min-height:40px; margin:0; padding:10px 18px; gap:12px; font-size:14px; line-height:18px; white-space:nowrap;
  transition:background .18s,opacity .5s var(--spring) .35s,translate .6s var(--spring) .35s,visibility 0s linear .35s; }
.team-foot-cta .button .icon { width:16px; height:16px; }
/* Same deep green as the stage above, so the button belongs to the card. */
.team-foot-cta .button { background:#1c3d34; color:#fff; }
.team-foot-cta .button:hover { background:#24493f; }
.team-foot-cta .button:focus-visible { outline:2px solid #1c3d34; outline-offset:3px; }
/* The button only appears once the team has finished (its place is kept, so nothing shifts). */
.agent-team:is([data-run="pending"],[data-run="play"]) .team-foot-cta .button { opacity:0; translate:0 6px; visibility:hidden; transition:background .18s,opacity .2s ease,translate .2s ease,visibility 0s linear .2s; }
.team-foot-item { display:grid; align-content:center; gap:3px; min-width:0; padding:14px 20px; font-size:12.5px; line-height:1.3; white-space:nowrap; }
.team-foot-item:first-child { padding-left:0; }
.team-foot-item+.team-foot-item { border-left:1px solid var(--line); }
/* Each result: what the team did, then a quiet line that says what it replaces, in plain words. */
.team-foot-then { position:relative; overflow:hidden; text-overflow:ellipsis; font-size:12px; color:oklch(60% .01 165); transition:color .6s var(--spring) .2s; }
.team-foot-now { display:flex; align-items:baseline; gap:8px; min-width:0; }
.team-foot-now span { overflow:hidden; text-overflow:ellipsis; color:var(--muted); }
.team-foot-item b { font-size:16px; font-weight:500; letter-spacing:-.01em; color:var(--green-dark); font-variant-numeric:tabular-nums; transition:opacity .7s var(--spring),translate .8s var(--spring); }
/* Skeletons: while the team works, the results that do not exist yet show as soft placeholder bars; as the team
   produces a result, its bars fade and the number settles in: CT-es after the check, the freight after billing,
   the time when the day closes. */
@keyframes team-skeleton { from { background-position:100% 0; } to { background-position:-100% 0; } }
.team-foot-now { position:relative; }
.team-foot-now::after,.team-foot-then::after { content:""; position:absolute; left:0; top:50%; width:min(200px,92%); height:13px; margin-top:-6.5px; border-radius:6px; opacity:0; pointer-events:none;
  background:linear-gradient(90deg,oklch(94.5% .006 165) 0%,oklch(98% .003 165) 50%,oklch(94.5% .006 165) 100%) 0 0 / 200% 100%; transition:opacity .35s ease; }
.team-foot-item:nth-child(2) .team-foot-now::after { width:min(176px,92%); }
.team-foot-item:nth-child(3) .team-foot-now::after { width:min(150px,92%); }
.team-foot-then::after { width:min(150px,80%); height:9px; margin-top:-4.5px; border-radius:5px; }
.team-foot-item:nth-child(2) .team-foot-then::after { width:min(170px,80%); }
.agent-team:is([data-run="pending"],[data-run="play"]) .team-foot-item:not(.is-ready) :is(.team-foot-now,.team-foot-then)::after { opacity:1; animation:team-skeleton 1.6s linear infinite; }
.agent-team:is([data-run="pending"],[data-run="play"]) .team-foot-item:not(.is-ready) .team-foot-then { color:transparent; }
.agent-team:is([data-run="pending"],[data-run="play"]) .team-foot-item:not(.is-ready) b { opacity:0; translate:0 3px; }
.agent-team:is([data-run="pending"],[data-run="play"]) .team-foot-item:not(.is-ready) .team-foot-now span { opacity:0; }
.team-foot-now span { transition:opacity .6s var(--spring) .1s; }

/* Harness note and call to action close the section. */

@keyframes agent-pulse { 50% { opacity:.35; } }
@keyframes agent-in { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:none; } }

/* The phone moved here: it is the small-screen view of the AI section. */
.provider-phone { display:none; margin:0; }
.provider-phone figcaption { margin-top:4px; font-size:10px; line-height:1.5; color:var(--muted); text-align:center; }

/* Desktop: the whole section fits one screen. The heading sits beside the lead, and the spacing follows the
   viewport height (generous on tall screens, tighter on 768-900 px laptops). */
@media (min-width:1001px) {
  .harness { padding-block:clamp(32px,5vh,96px); }
  .harness-head { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,1fr); gap:56px; align-items:end; }
  .harness .journey-eyebrow { margin-bottom:14px; }
  .harness-lead { justify-self:end; max-width:520px; margin-top:0; font-size:17px; }
  .harness-figure { margin-top:clamp(20px,3.6vh,40px); }
}
/* Short laptop screens (768-820 px tall): a little tighter still, so the section keeps fitting. */
@media (min-width:1001px) and (max-height:820px) {
  .harness { padding-block:clamp(24px,4vh,96px); }
  .harness h2 { font-size:clamp(34px,3vw,42px); }
  .harness-lead { font-size:16px; }
  .team-map { --row:62px; padding-top:clamp(40px,6vh,70px); }
  .team-foot { min-height:62px; }
  .team-foot-item { padding-block:10px; }
}
/* Desktop: a strict three-row grid so every item sits on its row and straight handoffs stay straight. */
/* The gaps give way first as the stage narrows, so the agent cards keep room for their result line (~258px). */
@media (min-width:1001px) {
  .team-map { --row:64px; --row-gap:clamp(16px,2.6vh,30px); grid-template-columns:184px minmax(0,1fr) minmax(0,1fr) 226px; column-gap:clamp(24px,calc((100% - 926px) / 3),76px); padding:clamp(46px,7vh,70px) 28px clamp(26px,4.2vh,50px); }
  /* Fixed tracks: cards keep the same size whatever text they show. */
  .team-col { display:grid; width:100%; min-width:0; grid-template-columns:minmax(0,1fr); grid-template-rows:repeat(3,var(--row)); gap:var(--row-gap) 0; align-items:center; justify-items:stretch; }
  .team-agent,.team-person { width:100%; min-width:0; }
  .team-agents-next>li:nth-child(1) { grid-row:2; }
  .team-agents-next>li:nth-child(2) { grid-row:3; }
  .team-source { width:100%; min-width:0; }
  /* The wires already show each handoff; the written timeline is only for mobile, where the map collapses. */
  .team-timeline { display:none; }
}
/* Below ~1280 px there is not enough width for the results and the button on one row: the button moves under them. */
@media (max-width:1279px) {
  .team-foot { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .team-foot-cta { grid-column:1 / -1; padding:2px 0 18px; }
}
@media (max-width:1180px) { .team-map { grid-template-columns:172px minmax(0,1fr) minmax(0,1fr) 216px; column-gap:clamp(18px,calc((100% - 904px) / 3),44px); padding-inline:28px; }
  .team-source { grid-template-columns:26px minmax(0,1fr); gap:9px; padding:0 10px 0 11px; }
  .team-source-icon { width:26px; height:26px; border-radius:7px; } }
@media (max-width:1000px) {
  .harness { padding-block:80px 88px; }
  .team-foot { grid-template-columns:repeat(3,minmax(0,1fr)); padding-inline:24px; }
  .team-foot-cta { grid-column:1 / -1; padding:4px 0 20px; }
  .team-foot-now { flex-direction:column; align-items:flex-start; gap:2px; }
  .team-map { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; padding:32px 24px 36px; }
  .team-wires,.team-col-sources,.team-col-people { display:none; }
  .team-col.team-agents { display:contents; }
  .team-feed { grid-template-columns:1fr; row-gap:18px; }
  .team-feed::before,.team-feed::after { top:4px; left:4px; width:1px; height:auto; bottom:6px; right:auto; max-width:none; }
  .team-feed::after { height:calc(max(var(--step) - 1,0) * 20%); bottom:auto; transition:height .6s cubic-bezier(.2,.7,.2,1); }
  .team-feed li { padding:0 0 0 26px; }
  .team-timeline { padding:22px 24px 28px; }
}
@media (max-width:700px) {
  .harness { padding-block:64px 72px; }
  .harness h2 { font-size:clamp(34px,9vw,44px); }
  .harness-lead { font-size:16px; margin-top:18px; }
  .harness-figure { margin-top:36px; }
  .team-timeline { padding:20px 18px 24px; }
  .team-map { grid-template-columns:1fr; gap:8px; padding:22px 16px 26px; }
  .team-agent { padding:11px 16px 11px 11px; }
  #ag-reports { grid-column:auto; }
  .team-timeline { padding:20px 18px 24px; }
  .team-foot { grid-template-columns:1fr; padding:4px 16px; }
  .team-foot-cta { padding:8px 0 16px; }
  .team-foot-cta .button { width:100%; justify-content:center; min-height:44px; }
  .team-foot-item { padding:12px 0; }
  .team-foot-now { flex-direction:row; align-items:baseline; gap:8px; }
  .team-foot-item+.team-foot-item { border-left:0; border-top:1px solid var(--line); }
  #inteligencia .context-product { display:none; }
  .provider-phone { display:block; width:min(118vw,500px,calc((100svh - var(--nav-h) - 150px) * 1000 / 1550)); margin:16px auto 0; position:relative; left:50%; transform:translateX(-50%); }
}
/* Energize: when work arrives, a sonar ping. A large round light, anchored where the wire touches the card
   (left edge, vertical centre), expands from that point and fades; it does not travel. A brighter rim reads
   as the wavefront. Inside the glass (under the text), clipped by the card. On the white agent cards the ping
   is the brand's vivid green, a light fill with a defined rim; mint on the team; sand on the card that has to approve. */
.team-agent,.team-person { position:relative; isolation:isolate; overflow:hidden; }
.team-agent::after,.team-person::after { content:""; position:absolute; z-index:-1; top:50%; left:0; width:340px; height:340px; margin:-170px 0 0 -170px; border-radius:50%; pointer-events:none; opacity:0;
  background:radial-gradient(circle closest-side,oklch(68% .17 155 / .12) 0%,oklch(68% .17 155 / .06) 40%,oklch(68% .17 155 / .035) 76%,oklch(66% .17 155 / .4) 88%,transparent 95%); }
/* On the white cards the wave is smaller: it reaches about 25% of the card. */
.team-agent::after { width:150px; height:150px; margin:-75px 0 0 -75px; }
.team-person::after { background:radial-gradient(circle closest-side,oklch(90% .08 160 / .4) 0%,oklch(84% .1 160 / .2) 38%,oklch(84% .1 160 / .1) 72%,oklch(90% .08 160 / .32) 87%,transparent 100%); }
.team-person.is-approval::after { background:radial-gradient(circle closest-side,oklch(94% .04 85 / .42) 0%,oklch(88% .05 85 / .22) 38%,oklch(88% .05 85 / .1) 72%,oklch(94% .04 85 / .34) 87%,transparent 100%); }
.team-agent.is-charged::after,.team-person.is-charged::after { animation:team-charge .95s cubic-bezier(.15,.6,.3,1); }
.team-agent.is-charged::after { animation-name:team-charge-light; animation-duration:1.1s; }
@keyframes team-charge-light {
  0% { scale:.1; opacity:1; }
  65% { opacity:1; }
  100% { scale:1; opacity:0; }
}
@keyframes team-charge {
  0% { scale:.1; opacity:1; }
  45% { opacity:.85; }
  100% { scale:1; opacity:0; }
}
/* Without transparency the cards go back to solid white. */
@media (prefers-reduced-transparency:reduce) {
  .team-agent { background:linear-gradient(180deg,#fff 0%,#fff 45%,oklch(97.6% .006 160) 100%); -webkit-backdrop-filter:none; backdrop-filter:none; }
}

@media (prefers-reduced-motion:reduce) {
  .team-foot-cta .button { translate:none !important; }
  .team-foot-now::after,.team-foot-then::after,.team-person em::before { animation:none !important; }
  .team-nano { transition:none; } .team-world,.team-world-flicker rect { animation:none; }
  .team-foot-item b { transition:none; translate:none; }
  .team-feed li.is-new,.team-loader i,.team-agent::after,.team-person::after { animation:none; }
  .team-wires .team-shimmer { display:none; }
  .team-feed::after { transition:none; }
}
