/* AMP AI Labs — Workflow Automation page (loaded only by ai-automation/workflow-automation.html) */

:root { --wa-lime: #A3E635; --wa-teal: #2DD4BF; --wa-blue: #4A8FFF; --wa-violet: #A78BFA; --wa-green: #4ADE80; --wa-amber: #FBBF24; --wa-red: #F87171; --wa-ease: cubic-bezier(.2,.7,.2,1); }

/* ═════════ LAYOUT + BANDS ═════════ */
.wa-wrap { max-width: 72rem; margin: 0 auto; padding: 0 1rem; position: relative; }
@media (min-width: 640px)  { .wa-wrap { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .wa-wrap { padding: 0 2rem; } }
.wa-band { padding: clamp(3.2rem, 6vw, 5rem) 0; }
.wa-sec { background: radial-gradient(ellipse 800px 260px at 50% 0%, rgba(45,212,191,.11), transparent 70%), #060C1E; border-top: 1px solid rgba(255,255,255,.07); }
.wa-alt { background: radial-gradient(ellipse 800px 260px at 50% 0%, rgba(74,143,255,.17), transparent 70%), #0C1547; border-top: 1px solid rgba(255,255,255,.09); }

.wa-h2 { margin: 0; font-size: clamp(1.7rem, 1.15rem + 2vw, 2.6rem); font-weight: 900; line-height: 1.12; letter-spacing: -.02em; color: #fff; }
.wa-lead { margin: .8rem 0 0; font-size: 1rem; line-height: 1.7; color: rgba(220,229,240,.78); max-width: 42rem; }
.wa-kicker { display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 .9rem; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #C9D6E8; }
.wa-kicker::before { content: ''; flex: none; width: 1.5rem; height: 3px; border-radius: 3px; background: var(--wa-lime); }
.wa-center { text-align: center; }
.wa-center .wa-lead { margin-left: auto; margin-right: auto; }
.wa-center .wa-kicker { justify-content: center; }
.wa-hl { position: relative; display: inline-block; color: var(--wa-teal); }
.wa-hl::after { content: ''; position: absolute; left: 0; right: 0; bottom: -.14em; height: .16em; border-radius: 99px; background: var(--wa-lime); transform: scaleX(0); transform-origin: left; transition: transform .9s .25s var(--wa-ease); }
.wa-reveal.is-in .wa-hl::after, html:not(.js) .wa-hl::after { transform: scaleX(1); }
.wa-hero .wa-hl::after { transform: none; animation: wa-underline .9s .7s var(--wa-ease) both; }
@keyframes wa-underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes wa-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes wa-blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes wa-glowp { 0%, 100% { box-shadow: 0 0 0 0 rgba(var(--gp, 45,212,191), .55); } 50% { box-shadow: 0 0 0 .45rem rgba(var(--gp, 45,212,191), 0); } }

.wa-ico { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wa-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:where(.wa-wrap) button { font: inherit; }
.js .wa-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--wa-ease) var(--d, 0s), transform .7s var(--wa-ease) var(--d, 0s); }
.js .wa-reveal.is-in { opacity: 1; transform: none; }

/* ═════════ HERO ═════════ */
.wa-hero { position: relative; overflow: hidden; padding: clamp(2rem, 5vw, 3rem) 1rem clamp(2.5rem, 5vw, 3.5rem); background: radial-gradient(ellipse 900px 600px at 100% -10%, rgba(45,212,191,.28), transparent 60%), radial-gradient(ellipse 700px 500px at -10% 115%, rgba(74,143,255,.25), transparent 55%), #060C1E; }
.wa-hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 80% 30%, #000, transparent 75%); mask-image: radial-gradient(ellipse 70% 80% at 80% 30%, #000, transparent 75%); pointer-events: none; }
.wa-hero-grid { display: grid; gap: 2.4rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 1024px) { .wa-hero-grid { grid-template-columns: 1.12fr 1fr; gap: 2rem; } }
.wa-crumb { display: inline-flex; align-items: center; gap: .5rem; flex-wrap: wrap; padding: .35rem .9rem; border-radius: 9999px; margin-bottom: 1.4rem; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #5EEAD4; background: rgba(45,212,191,.1); border: 1px solid rgba(45,212,191,.35); }
.wa-crumb a:hover { text-decoration: underline; }
.wa-h1 { margin: 0 0 1.3rem; font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3rem); font-weight: 900; line-height: 1.1; letter-spacing: -.03em; color: #fff; }
.wa-h1 .wa-hl { color: #fff; }
.wa-grad { background: linear-gradient(90deg, #2DD4BF, #4A8FFF); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.wa-hero-sub { margin: 0 0 1.9rem; max-width: 34rem; font-size: 1.05rem; line-height: 1.75; color: rgba(255,255,255,.76); }
.wa-hero-note { margin: 1.1rem 0 0; display: flex; align-items: center; gap: .5rem; font-size: .82rem; color: rgba(200,205,235,.75); }
.wa-hero-note svg { width: 1rem; height: 1rem; color: var(--wa-lime); }
.wa-hero-copy > * { animation: wa-rise .8s var(--wa-ease) both; }
.wa-hero-copy > :nth-child(2) { animation-delay: .08s; } .wa-hero-copy > :nth-child(3) { animation-delay: .16s; } .wa-hero-copy > :nth-child(4) { animation-delay: .24s; } .wa-hero-copy > :nth-child(5) { animation-delay: .32s; } .wa-hero-copy > :nth-child(6) { animation-delay: .4s; }
.wa-cta-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ── interactive workflow runner ── */
.wa-stage { position: relative; width: 100%; max-width: 36rem; margin: 0 auto; padding: 1rem 0; }
.wa-glow { position: absolute; inset: 6% 2%; border-radius: 50%; background: radial-gradient(circle, rgba(45,212,191,.4), rgba(74,143,255,.22) 50%, transparent 70%); filter: blur(32px); }
.wa-win { position: relative; border-radius: 1.2rem; overflow: hidden; background: linear-gradient(160deg, #0F1B55, #0A1236); border: 1px solid rgba(255,255,255,.16); box-shadow: 0 30px 80px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.08); }
.wa-win-bar { display: flex; align-items: center; gap: .4rem; padding: .7rem 1rem; border-bottom: 1px solid rgba(255,255,255,.09); font-size: .72rem; color: rgba(255,255,255,.8); }
.wa-win-bar .d { width: .6rem; height: .6rem; border-radius: 50%; }
.wa-win-bar .d:nth-child(1) { background: #FF6B6B; } .wa-win-bar .d:nth-child(2) { background: #FBBF24; } .wa-win-bar .d:nth-child(3) { background: #4ADE80; }
.wa-win-bar b { margin-left: .5rem; font-weight: 700; }
.wa-win-bar em { margin-left: auto; display: inline-flex; align-items: center; gap: .35rem; font-style: normal; font-weight: 800; color: var(--wa-green); }
.wa-win-bar em i { width: .45rem; height: .45rem; border-radius: 50%; background: var(--wa-green); animation: wa-blink 1.8s ease-in-out infinite; }
.wa-run-in { padding: .8rem .9rem 1rem; display: grid; gap: .65rem; }
.js .wa-demo:not(.is-live) .wa-run-in { visibility: hidden; min-height: 40rem; }
.wa-demo button:focus-visible, .wa-demo input:focus-visible { outline: 3px solid var(--wa-teal); outline-offset: 2px; }
.wa-demo:not(.is-live) .wa-scn, .wa-demo:not(.is-live) .wa-ctl, .wa-demo:not(.is-live) .wa-foot { display: none; }

.wa-scn { display: flex; flex-wrap: wrap; gap: .4rem; }
.wa-sc { display: inline-flex; align-items: center; gap: .35rem; padding: .38rem .8rem; border-radius: 9999px; font-size: .74rem; font-weight: 800; color: #E8EAF6; cursor: pointer; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); transition: background .2s, border-color .2s; }
.wa-sc svg { width: .9rem; height: .9rem; }
.wa-sc:hover { border-color: rgba(45,212,191,.7); }
.wa-sc[aria-pressed="true"] { color: #fff; background: linear-gradient(135deg, rgba(20,184,166,.7), rgba(10,90,223,.55)); border-color: rgba(94,234,212,.95); }

.wa-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; padding: .55rem .7rem; border-radius: .8rem; background: rgba(6,12,30,.55); border: 1px solid rgba(255,255,255,.1); }
.wa-seg { display: inline-flex; align-items: center; gap: .45rem; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: rgba(200,205,235,.75); }
.wa-seg > div { display: inline-flex; padding: .15rem; border-radius: 9999px; background: rgba(255,255,255,.08); }
.wa-seg button { padding: .25rem .65rem; border: 0; border-radius: 9999px; font-size: .7rem; font-weight: 800; letter-spacing: 0; text-transform: none; color: rgba(255,255,255,.8); background: transparent; cursor: pointer; }
.wa-seg button[aria-pressed="true"] { color: #0B1240; background: #fff; }
.wa-switch { margin-left: auto; display: inline-flex; align-items: center; gap: .45rem; font-size: .72rem; font-weight: 700; color: #E8EAF6; cursor: pointer; }
.wa-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wa-switch .tr { position: relative; width: 2.1rem; height: 1.2rem; border-radius: 99px; background: rgba(255,255,255,.2); transition: background .2s; }
.wa-switch .tr::after { content: ''; position: absolute; top: .15rem; left: .15rem; width: .9rem; height: .9rem; border-radius: 50%; background: #fff; transition: transform .2s var(--wa-ease); }
.wa-switch input:checked + .tr { background: var(--wa-red); }
.wa-switch input:checked + .tr::after { transform: translateX(.9rem); }
.wa-switch input:focus-visible + .tr { outline: 3px solid var(--wa-teal); outline-offset: 2px; }

.wa-flow { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.wa-n { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: .65rem; align-items: center; padding: .5rem .7rem; border-radius: .85rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); transition: background .3s, border-color .3s, opacity .3s, box-shadow .3s; }
.wa-n + .wa-n::before { content: ''; position: absolute; left: 1.58rem; top: -.5rem; width: 2px; height: .5rem; background: rgba(255,255,255,.22); }
.wa-n .ic { width: 1.9rem; height: 1.9rem; border-radius: .55rem; display: grid; place-items: center; color: #5EEAD4; background: rgba(45,212,191,.14); transition: background .3s, color .3s; }
.wa-n .ic svg { width: 1rem; height: 1rem; }
.wa-n.ai .ic { color: #C9B8FF; background: rgba(167,139,250,.18); }
.wa-n.decision .ic { color: #FDE68A; background: rgba(251,191,36,.16); }
.wa-n.log .ic { color: #93C5FD; background: rgba(74,143,255,.16); }
.wa-n b { display: block; font-size: .8rem; font-weight: 800; line-height: 1.25; color: #fff; }
.wa-n small { display: block; margin-top: .05rem; font-size: .68rem; line-height: 1.35; color: rgba(200,205,235,.7); }
.wa-n small.out { color: #C9B8FF; font-weight: 700; }
.wa-n .st { min-width: 3.6rem; text-align: right; font-size: .62rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: rgba(200,205,235,.45); }
.wa-n.is-run { border-color: rgba(94,234,212,.95); background: rgba(45,212,191,.1); animation: wa-glowp 1.2s ease-in-out infinite; }
.wa-n.is-run .st { color: var(--wa-teal); }
.wa-n.is-done { border-color: rgba(74,222,128,.5); }
.wa-n.is-done .st { color: var(--wa-green); }
.wa-n.is-skip { opacity: .4; }
.wa-n.is-gate { border-color: rgba(251,191,36,.95); background: rgba(251,191,36,.1); animation: wa-glowp 1.2s ease-in-out infinite; --gp: 251,191,36; }
.wa-n.is-gate .st { color: var(--wa-amber); }
.wa-n.is-fail { border-color: rgba(248,113,113,.95); background: rgba(248,113,113,.1); }
.wa-n.is-fail .st { color: var(--wa-red); }
.wa-n.is-retry { border-color: rgba(251,191,36,.9); background: rgba(251,191,36,.08); }
.wa-n.is-retry .st { color: var(--wa-amber); }
.wa-n.is-queued { border-style: dashed; border-color: rgba(251,191,36,.95); background: rgba(251,191,36,.08); }
.wa-n.is-queued .st { color: var(--wa-amber); }
.wa-n.is-rej { border-color: rgba(248,113,113,.7); }
.wa-n.is-rej .st { color: var(--wa-red); }
.wa-br { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; margin-top: .1rem; }
.wa-b { padding: .4rem .6rem; border-radius: .65rem; border: 1px dashed rgba(255,255,255,.22); font-size: .68rem; line-height: 1.35; color: rgba(232,234,246,.85); transition: opacity .3s, border-color .3s, background .3s; }
.wa-b i { display: inline-block; margin-right: .3rem; padding: .02rem .4rem; border-radius: 9999px; font-style: normal; font-size: .58rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #1B2A00; background: rgba(255,255,255,.7); }
.wa-b b { display: inline; font-size: .7rem; }
.wa-b small { display: block; }
.wa-b.on { border-style: solid; border-color: rgba(94,234,212,.9); background: rgba(45,212,191,.12); }
.wa-b.off { opacity: .35; }
.wa-b.pend { opacity: 1; }

.wa-gate { display: grid; gap: .5rem; padding: .65rem .75rem; border-radius: .85rem; background: rgba(251,191,36,.1); border: 1px solid rgba(251,191,36,.6); animation: wa-rise .4s var(--wa-ease) both; }
.wa-gate[hidden] { display: none; }
.wa-gate p { margin: 0; font-size: .74rem; line-height: 1.45; color: #FDE68A; }
.wa-gate p::before { content: 'Approval gate · '; font-weight: 800; }
.wa-gate div { display: flex; justify-content: flex-end; gap: .5rem; }
.wa-btn-s, .wa-btn-p { padding: .45rem .95rem; border-radius: .6rem; font-size: .76rem; font-weight: 800; cursor: pointer; border: 1.5px solid transparent; transition: background .2s, transform .2s; }
.wa-btn-s { color: #fff; background: transparent; border-color: rgba(255,255,255,.35); }
.wa-btn-s:hover { background: rgba(255,255,255,.12); }
.wa-btn-p { color: #1B2A00; background: var(--wa-lime); animation: wa-glowp 1.4s ease-in-out infinite; --gp: 163,230,53; }
.wa-btn-p:hover { background: #BEF264; transform: translateY(-1px); }

.wa-log { list-style: none; margin: 0; padding: .55rem .7rem; height: 7.4rem; overflow-y: auto; display: grid; align-content: start; gap: .15rem; border-radius: .8rem; background: #050A1A; border: 1px solid rgba(255,255,255,.12); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .66rem; line-height: 1.5; color: #C9D6E8; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.25) transparent; }
.wa-log li { display: flex; gap: .6rem; animation: wa-rise .3s var(--wa-ease) both; }
.wa-log time { flex: none; width: 2.6rem; color: rgba(200,205,235,.45); }
.wa-log .ok { color: #86EFAC; } .wa-log .warn { color: var(--wa-amber); } .wa-log .err { color: #FCA5A5; } .wa-log .info { color: #C9D6E8; }
.wa-status { margin: 0; min-height: 2.4em; font-size: .76rem; line-height: 1.45; text-align: center; color: rgba(232,234,246,.9); }
.wa-foot { display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap; }
.wa-run { display: inline-flex; align-items: center; gap: .5rem; padding: .65rem 1.2rem; border-radius: .8rem; font-size: .86rem; font-weight: 800; color: #1B2A00; background: var(--wa-lime); border: 0; cursor: pointer; transition: background .2s, transform .2s, opacity .2s; }
.wa-run svg { width: 1rem; height: 1rem; }
.wa-run:hover:not(:disabled) { background: #BEF264; transform: translateY(-1px); }
.wa-run:disabled { opacity: .55; cursor: default; }
.wa-demo[data-state="idle"] .wa-run { animation: wa-glowp 1.8s ease-in-out infinite; --gp: 163,230,53; }
.wa-fine { margin: 0; font-size: .64rem; line-height: 1.4; color: rgba(200,205,235,.55); }
.wa-demo [data-scroll] { scroll-margin: 5rem 0 1.2rem; }

/* ── trust strip ── */
.wa-trust { display: grid; gap: 1.2rem; grid-template-columns: 1fr; margin: 2.4rem 0 0; padding: 1.3rem 1.4rem; border-radius: 1.2rem; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); list-style: none; }
@media (min-width: 640px) { .wa-trust { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .wa-trust { grid-template-columns: repeat(4, 1fr); gap: 0; } .wa-trust > li + li { border-left: 1px solid rgba(255,255,255,.12); padding-left: 1.4rem; } }
.wa-trust > li { display: flex; align-items: center; gap: .8rem; }
.wa-trust svg { flex: none; width: 2rem; height: 2rem; color: var(--wa-teal); stroke-width: 1.5; }
.wa-trust b { display: block; font-size: .86rem; font-weight: 800; color: #fff; line-height: 1.25; }
.wa-trust span { display: block; font-size: .74rem; color: rgba(200,205,235,.7); margin-top: .1rem; }

/* ═════════ OUTCOMES + generic card grid ═════════ */
.wa-out { display: grid; gap: 1rem; grid-template-columns: 1fr; margin: 2.2rem 0 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .wa-out { grid-template-columns: repeat(3, 1fr); } }
.wa-ocard { --c: 45,212,191; height: 100%; display: flex; gap: 1rem; align-items: flex-start; padding: 1.4rem 1.3rem; border-radius: 1.1rem; background: linear-gradient(160deg, rgba(var(--c),.16), rgba(255,255,255,.03)); border: 1px solid rgba(var(--c),.32); transition: transform .3s var(--wa-ease), box-shadow .3s, border-color .3s; }
.wa-ocard:hover { transform: translateY(-5px); border-color: rgba(var(--c),.7); box-shadow: 0 20px 44px rgba(var(--c),.2); }
.wa-ocard.b { --c: 74,143,255; } .wa-ocard.a { --c: 251,191,36; }
.wa-ocard .ico { flex: none; width: 2.9rem; height: 2.9rem; border-radius: .9rem; display: grid; place-items: center; color: rgb(var(--c)); background: rgba(var(--c),.14); }
.wa-ocard .ico svg { width: 1.5rem; height: 1.5rem; }
.wa-ocard h3 { margin: 0 0 .35rem; font-size: 1.05rem; font-weight: 800; color: #fff; }
.wa-ocard p { margin: 0; font-size: .86rem; line-height: 1.6; color: rgba(220,229,240,.78); }

/* ═════════ THREE LANES ═════════ */
.wa-lanes { display: grid; gap: 1rem; grid-template-columns: 1fr; margin: 2.2rem 0 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .wa-lanes { grid-template-columns: repeat(3, 1fr); } }
.wa-lane { --c: 74,143,255; height: 100%; padding: 1.4rem 1.3rem 1.5rem; border-radius: 1.2rem; background: linear-gradient(160deg, rgba(var(--c),.16), rgba(255,255,255,.03)); border: 1px solid rgba(var(--c),.4); border-top: 4px solid rgb(var(--c)); }
.wa-lane.ai { --c: 167,139,250; } .wa-lane.hu { --c: 251,191,36; }
.wa-lane .ico { width: 2.6rem; height: 2.6rem; border-radius: .8rem; display: grid; place-items: center; margin-bottom: .8rem; color: rgb(var(--c)); background: rgba(var(--c),.15); }
.wa-lane .ico svg { width: 1.4rem; height: 1.4rem; }
.wa-lane h3 { margin: 0 0 .15rem; font-size: 1.15rem; font-weight: 900; color: #fff; }
.wa-lane .sub { margin: 0 0 .7rem; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgb(var(--c)); }
.wa-lane p { margin: 0 0 .9rem; font-size: .88rem; line-height: 1.6; color: rgba(220,229,240,.82); }
.wa-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.wa-chips li { padding: .28rem .7rem; border-radius: 9999px; font-size: .74rem; font-weight: 700; color: #E8EAF6; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); }
.wa-ex { margin-top: 1.4rem; padding: 1.1rem 1.2rem; border-radius: 1.1rem; background: rgba(255,255,255,.05); border: 1px dashed rgba(255,255,255,.25); }
.wa-ex h3 { margin: 0 0 .8rem; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--wa-teal); }
.wa-ex ol { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .5rem; margin: 0; padding: 0; list-style: none; }
.wa-ex li { display: inline-flex; align-items: center; gap: .45rem; font-size: .78rem; font-weight: 700; color: #fff; }
.wa-ex li span { padding: .3rem .7rem; border-radius: .6rem; background: rgba(var(--c, 74,143,255),.2); border: 1px solid rgba(var(--c, 74,143,255),.55); }
.wa-ex li span small { display: block; font-size: .56rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgb(var(--c, 74,143,255)); }
.wa-ex li.ai { --c: 167,139,250; } .wa-ex li.hu { --c: 251,191,36; }
.wa-ex li:not(:last-child)::after { content: '→'; color: rgba(200,205,235,.5); }

/* ═════════ TABSETS ═════════ */
.wa-tabs { display: none; margin: 0; padding: 0; list-style: none; }
.wa-tabset.is-live .wa-tabs { display: grid; }
.wa-tabset [role="tabpanel"][hidden] { display: none !important; }
.wa-tab { cursor: pointer; text-align: left; color: #E8EAF6; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); transition: background .25s, border-color .25s; }
.wa-tab:hover { border-color: rgba(45,212,191,.6); background: rgba(45,212,191,.1); }
.wa-tab:focus-visible { outline: 3px solid var(--wa-teal); outline-offset: 2px; }
.wa-tab[aria-selected="true"] { color: #fff; background: linear-gradient(135deg, rgba(20,184,166,.65), rgba(10,90,223,.45)); border-color: rgba(94,234,212,.95); box-shadow: 0 12px 30px rgba(20,184,166,.25); }
.wa-tabset [role="tabpanel"]:not([hidden]) { animation: wa-rise .4s var(--wa-ease) both; }

/* ═════════ USE CASES ═════════ */
.wa-uc-tabs { gap: .5rem; grid-template-columns: repeat(2, 1fr); margin-top: 2rem !important; }
@media (min-width: 640px) { .wa-uc-tabs { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .wa-uc-tabs { grid-template-columns: repeat(6, 1fr); } }
.wa-uc-tabs .wa-tab { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; width: 100%; height: 100%; padding: .8rem .9rem; border-radius: 1rem; font-size: .82rem; font-weight: 800; line-height: 1.25; }
.wa-uc-tabs .wa-tab .ico { width: 2rem; height: 2rem; border-radius: .6rem; display: grid; place-items: center; background: rgba(45,212,191,.16); color: #5EEAD4; }
.wa-uc-tabs .wa-tab .ico svg { width: 1.1rem; height: 1.1rem; }
.wa-uc-tabs .wa-tab[aria-selected="true"] .ico { background: #fff; color: #0F766E; }
.wa-uc { margin-top: 1.2rem; padding: 1.4rem 1.2rem 1.5rem; border-radius: 1.3rem; background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.14); }
@media (min-width: 640px) { .wa-uc { padding: 1.8rem; } }
.wa-uc h3 { margin: 0; font-size: 1.35rem; font-weight: 900; color: #fff; }
.wa-uc .sum { margin: .4rem 0 0; font-size: .95rem; line-height: 1.65; color: rgba(220,229,240,.82); max-width: 44rem; }
.wa-chain { display: flex; flex-wrap: wrap; align-items: stretch; gap: .5rem; margin: 1.3rem 0 0; padding: 0; list-style: none; }
.wa-chain li { position: relative; display: flex; align-items: center; gap: .5rem; padding: .55rem .8rem; border-radius: .8rem; font-size: .8rem; font-weight: 700; line-height: 1.3; color: #fff; background: rgba(45,212,191,.12); border: 1px solid rgba(45,212,191,.45); }
.wa-chain li.t { background: rgba(74,143,255,.16); border-color: rgba(74,143,255,.55); }
.wa-chain li.ai { background: rgba(167,139,250,.16); border-color: rgba(167,139,250,.55); }
.wa-chain li.hu { background: rgba(251,191,36,.12); border-color: rgba(251,191,36,.55); }
.wa-chain li small { display: block; font-size: .56rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
.wa-chain li:not(:last-child)::after { content: '→'; position: absolute; right: -.62rem; top: 50%; transform: translateY(-50%); z-index: 1; font-size: .8rem; color: rgba(200,205,235,.7); }
.wa-chain li:not(:last-child) { margin-right: .5rem; }
.wa-ba { display: grid; gap: .8rem; margin-top: 1.2rem; }
@media (min-width: 720px) { .wa-ba { grid-template-columns: 1fr 1fr; } }
.wa-ba > div { --c: 248,113,113; padding: .9rem 1rem; border-radius: .95rem; background: rgba(var(--c),.09); border: 1px solid rgba(var(--c),.4); }
.wa-ba > div.ok { --c: 74,222,128; }
.wa-ba b { display: flex; align-items: center; gap: .4rem; margin-bottom: .3rem; font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgb(var(--c)); }
.wa-ba b svg { width: .9rem; height: .9rem; stroke-width: 2.4; }
.wa-ba p { margin: 0; font-size: .86rem; line-height: 1.55; color: rgba(232,234,246,.92); }
.wa-uc-foot { display: grid; gap: 1rem; margin-top: 1.1rem; }
@media (min-width: 720px) { .wa-uc-foot { grid-template-columns: 1fr 1fr; } }
.wa-uc-foot h4 { margin: 0 0 .6rem; font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(200,205,235,.75); }
.wa-gatebox { display: flex; gap: .7rem; padding: .9rem 1rem; border-radius: 1rem; background: rgba(163,230,53,.08); border: 1px solid rgba(163,230,53,.35); }
.wa-gatebox svg { flex: none; width: 1.4rem; height: 1.4rem; color: var(--wa-lime); margin-top: .1rem; }
.wa-gatebox h4 { color: var(--wa-lime); margin-bottom: .3rem; }
.wa-gatebox p { margin: 0; font-size: .84rem; line-height: 1.55; color: rgba(232,234,246,.9); }

/* ═════════ TIME CALCULATOR ═════════ */
.wa-calc { display: grid; gap: 1.2rem; margin-top: 2.2rem; }
@media (min-width: 900px) { .wa-calc { grid-template-columns: 1.1fr 1fr; gap: 1.6rem; align-items: stretch; } }
.wa-cin, .wa-cout { padding: 1.4rem 1.3rem; border-radius: 1.3rem; border: 1px solid rgba(255,255,255,.14); }
.wa-cin { background: rgba(255,255,255,.05); display: grid; gap: 1.2rem; }
.wa-fld label { display: flex; justify-content: space-between; align-items: baseline; gap: .6rem; margin-bottom: .5rem; font-size: .86rem; font-weight: 700; color: #E8EAF6; }
.wa-fld label output { font-size: 1.05rem; font-weight: 900; color: var(--wa-teal); font-variant-numeric: tabular-nums; }
.wa-fld small { display: block; margin-top: .3rem; font-size: .7rem; color: rgba(200,205,235,.6); }
.wa-fld input[type="range"] { width: 100%; height: 1.4rem; accent-color: var(--wa-teal); cursor: pointer; background: transparent; }
.wa-fld input[type="range"]:focus-visible { outline: 3px solid var(--wa-teal); outline-offset: 2px; border-radius: 6px; }
.wa-cout { background: linear-gradient(160deg, rgba(20,184,166,.28), rgba(10,90,223,.2)); border-color: rgba(94,234,212,.5); display: flex; flex-direction: column; gap: 1rem; }
.wa-cout h3 { margin: 0; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #5EEAD4; }
.wa-big { margin: 0; font-size: clamp(2.4rem, 1.8rem + 2.4vw, 3.4rem); font-weight: 900; line-height: 1; letter-spacing: -.02em; color: #fff; font-variant-numeric: tabular-nums; }
.wa-big small { font-size: 1rem; font-weight: 700; color: rgba(255,255,255,.75); letter-spacing: 0; }
.wa-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin: 0; }
.wa-kpis > div:last-child { grid-column: 1 / -1; }
.wa-kpis > div { padding: .7rem .85rem; border-radius: .9rem; background: rgba(6,12,30,.45); border: 1px solid rgba(255,255,255,.12); }
.wa-kpis dt { font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(200,205,235,.7); }
.wa-kpis dd { margin: .15rem 0 0; font-size: 1.1rem; font-weight: 900; color: #fff; font-variant-numeric: tabular-nums; }
.wa-cmp { display: grid; gap: .5rem; }
.wa-cmp div { display: grid; grid-template-columns: 4.6rem 1fr auto; align-items: center; gap: .6rem; font-size: .74rem; font-weight: 700; color: #E8EAF6; }
.wa-cmp .bar { height: .6rem; border-radius: 99px; background: rgba(255,255,255,.12); overflow: hidden; }
.wa-cmp .bar i { display: block; height: 100%; width: var(--w, 100%); border-radius: 99px; background: rgba(255,255,255,.55); transition: width .5s var(--wa-ease); }
.wa-cmp .bar i.a { background: linear-gradient(90deg, var(--wa-teal), var(--wa-green)); }
.wa-cmp span { font-variant-numeric: tabular-nums; }
.wa-cnote { margin: auto 0 0; font-size: .72rem; line-height: 1.5; color: rgba(220,229,240,.75); }

/* ═════════ INTEGRATIONS ═════════ */
.wa-int { display: grid; gap: 1rem; grid-template-columns: 1fr; margin: 2.2rem 0 0; padding: 0; list-style: none; }
@media (min-width: 700px) { .wa-int { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .wa-int { grid-template-columns: repeat(3, 1fr); } }
.wa-igrp { height: 100%; padding: 1.1rem 1.2rem 1.2rem; border-radius: 1.1rem; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.13); }
.wa-igrp h3 { display: flex; align-items: center; gap: .55rem; margin: 0 0 .8rem; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--wa-teal); }
.wa-igrp h3 svg { width: 1.1rem; height: 1.1rem; }
.wa-igrp .wa-chips li { background: rgba(74,143,255,.14); border-color: rgba(74,143,255,.4); }
.wa-brain { display: flex; align-items: flex-start; gap: .9rem; margin-top: 1rem; padding: 1rem 1.2rem; border-radius: 1.1rem; background: rgba(255,255,255,.05); border: 1px dashed rgba(255,255,255,.25); font-size: .9rem; line-height: 1.6; color: rgba(232,234,246,.92); }
.wa-brain svg { flex: none; width: 1.8rem; height: 1.8rem; color: var(--wa-teal); }
.wa-brain b { color: #fff; }
.wa-note { display: flex; gap: .5rem; margin: 1rem 0 0; font-size: .8rem; color: rgba(200,205,235,.7); }
.wa-note svg { flex: none; width: 1rem; height: 1rem; margin-top: .15rem; }

/* ═════════ RELIABILITY + RUN HISTORY ═════════ */
.wa-rel { display: grid; gap: 1.2rem; margin-top: 2.2rem; }
@media (min-width: 1024px) { .wa-rel { grid-template-columns: 1fr 1.05fr; gap: 1.6rem; align-items: start; } }
.wa-guard { display: grid; gap: .8rem; grid-template-columns: 1fr; margin: 0; padding: 0; list-style: none; }
@media (min-width: 560px) { .wa-guard { grid-template-columns: repeat(2, 1fr); } }
.wa-gcard { --c: 45,212,191; height: 100%; padding: 1.1rem 1.1rem 1.2rem; border-radius: 1rem; background: linear-gradient(160deg, rgba(var(--c),.14), rgba(255,255,255,.03)); border: 1px solid rgba(var(--c),.3); transition: transform .3s var(--wa-ease), border-color .3s; }
.wa-gcard:hover { transform: translateY(-4px); border-color: rgba(var(--c),.7); }
.wa-gcard.b { --c: 74,143,255; } .wa-gcard.a { --c: 251,191,36; } .wa-gcard.v { --c: 167,139,250; } .wa-gcard.g { --c: 74,222,128; }
.wa-gcard svg { width: 1.6rem; height: 1.6rem; color: rgb(var(--c)); margin-bottom: .6rem; }
.wa-gcard h3 { margin: 0 0 .3rem; font-size: .95rem; font-weight: 800; color: #fff; }
.wa-gcard p { margin: 0; font-size: .8rem; line-height: 1.55; color: rgba(220,229,240,.76); }
.wa-runs { border-radius: 1.2rem; overflow: hidden; background: #050A1A; border: 1px solid rgba(255,255,255,.16); box-shadow: 0 26px 60px rgba(0,0,0,.4); }
.wa-runs-h { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .8rem 1.1rem; background: rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.1); font-size: .85rem; font-weight: 800; color: #fff; }
.wa-runs-h span { font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(200,205,235,.6); }
.wa-filter { display: none; flex-wrap: wrap; gap: .4rem; padding: .7rem .8rem 0; }
.wa-runs.is-live .wa-filter { display: flex; }
.wa-fchip { padding: .3rem .75rem; border-radius: 9999px; font-size: .7rem; font-weight: 800; color: #E8EAF6; cursor: pointer; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); }
.wa-fchip:hover { border-color: rgba(45,212,191,.7); }
.wa-fchip:focus-visible { outline: 3px solid var(--wa-teal); outline-offset: 2px; }
.wa-fchip[aria-pressed="true"] { color: #0B1240; background: #fff; border-color: #fff; }
.wa-rows { margin: 0; padding: .6rem; list-style: none; display: grid; gap: .3rem; }
.wa-row { display: grid; grid-template-columns: 1fr auto; gap: .15rem .8rem; align-items: center; padding: .6rem .7rem; border-radius: .7rem; background: rgba(255,255,255,.04); }
.wa-row[hidden] { display: none; }
.wa-row p { margin: 0; font-size: .8rem; line-height: 1.35; color: #E8EAF6; }
.wa-row p b { display: block; font-size: .8rem; color: #fff; }
.wa-row p small { color: rgba(200,205,235,.6); font-size: .68rem; }
.wa-row time { grid-column: 1; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .64rem; color: rgba(200,205,235,.5); }
.wa-row .tag { grid-column: 2; grid-row: 1 / span 2; }
.wa-tag { padding: .22rem .6rem; border-radius: 9999px; font-size: .62rem; font-weight: 800; letter-spacing: .04em; white-space: nowrap; }
.wa-tag.ok { color: #86EFAC; background: rgba(74,222,128,.14); border: 1px solid rgba(74,222,128,.4); }
.wa-tag.re { color: var(--wa-amber); background: rgba(251,191,36,.13); border: 1px solid rgba(251,191,36,.4); }
.wa-tag.ap { color: #93C5FD; background: rgba(74,143,255,.15); border: 1px solid rgba(74,143,255,.4); }
.wa-tag.na { color: #FCA5A5; background: rgba(248,113,113,.13); border: 1px solid rgba(248,113,113,.4); }
.wa-runs-f { margin: 0; padding: .3rem 1.1rem .9rem; font-size: .68rem; color: rgba(200,205,235,.55); }

/* ═════════ INDUSTRIES ═════════ */
.wa-ind { display: grid; gap: 1rem; grid-template-columns: 1fr; margin: 2.2rem 0 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .wa-ind { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .wa-ind { grid-template-columns: repeat(3, 1fr); } }
.wa-icard { height: 100%; padding: 1.2rem; border-radius: 1.1rem; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.13); transition: transform .3s var(--wa-ease), border-color .3s; }
.wa-icard:hover { transform: translateY(-4px); border-color: rgba(45,212,191,.6); }
.wa-ih { display: flex; align-items: center; gap: .7rem; margin-bottom: .8rem; }
.wa-ih .ico { width: 2.4rem; height: 2.4rem; border-radius: .75rem; display: grid; place-items: center; color: var(--wa-teal); background: rgba(45,212,191,.14); }
.wa-ih .ico svg { width: 1.25rem; height: 1.25rem; }
.wa-ih h3 { margin: 0; font-size: 1rem; font-weight: 800; color: #fff; }
.wa-icard ul { display: grid; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.wa-icard li { display: flex; gap: .5rem; font-size: .82rem; line-height: 1.45; color: rgba(232,234,246,.9); }
.wa-icard li svg { flex: none; width: .9rem; height: .9rem; margin-top: .2rem; color: var(--wa-green); stroke-width: 2.6; }

/* ═════════ PROCESS ═════════ */
.wa-proc { position: relative; display: grid; gap: .9rem; grid-template-columns: 1fr; margin: 2.4rem 0 0; padding: 0; list-style: none; }
@media (min-width: 700px) { .wa-proc { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .wa-proc { grid-template-columns: repeat(5, 1fr); gap: 1rem; } .wa-proc::before { content: ''; position: absolute; top: 2.1rem; left: 3.8%; right: 15%; height: 2px; background: linear-gradient(90deg, var(--wa-teal), var(--wa-blue)); opacity: .45; } }
.wa-pstep { position: relative; display: flex; flex-direction: column; height: 100%; padding: 1.2rem 1.1rem 1.3rem; border-radius: 1.1rem; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.13); transition: transform .3s var(--wa-ease), border-color .3s, box-shadow .3s; }
.wa-pstep:hover { transform: translateY(-6px); border-color: rgba(45,212,191,.7); box-shadow: 0 20px 44px rgba(20,184,166,.22); }
.wa-pnum { position: relative; z-index: 1; display: grid; place-items: center; width: 2.8rem; height: 2.8rem; margin-bottom: .9rem; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #14B8A6, #0A5ADF); box-shadow: 0 0 0 5px #060C1E; }
.wa-alt .wa-pnum { box-shadow: 0 0 0 5px #0C1547; }
.wa-pnum svg { width: 1.3rem; height: 1.3rem; }
.wa-pstep h3 { margin: 0 0 .4rem; font-size: 1rem; font-weight: 800; color: #fff; }
.wa-pstep h3 small { display: block; margin-bottom: .15rem; font-size: .64rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--wa-teal); }
.wa-pstep p { margin: 0 0 1rem; font-size: .82rem; line-height: 1.6; color: rgba(220,229,240,.76); }
.wa-pstep .wa-get { margin: auto 0 0; padding-top: .7rem; border-top: 1px dashed rgba(255,255,255,.18); font-size: .76rem; line-height: 1.45; color: rgba(232,234,246,.9); }
.wa-get b { display: block; margin-bottom: .15rem; font-size: .62rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--wa-lime); }

/* ═════════ FAQ ═════════ */
.wa-faqwrap { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .wa-faqwrap { grid-template-columns: 18rem 1fr; gap: 3rem; align-items: start; } }
.wa-faq { max-width: 48rem; display: grid; gap: .7rem; }
.wa-q { border-radius: 1rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); transition: border-color .25s, background .25s, box-shadow .25s; }
.wa-q:hover { border-color: rgba(45,212,191,.5); }
.wa-q[open] { background: rgba(255,255,255,.09); border-color: rgba(45,212,191,.7); box-shadow: 0 14px 38px rgba(20,184,166,.18); }
.wa-q summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; padding: 1rem 1.2rem; min-height: 3.2rem; font-size: .96rem; font-weight: 800; color: #fff; }
.wa-q summary::-webkit-details-marker { display: none; }
.wa-q summary svg { flex: none; width: 1.1rem; height: 1.1rem; color: var(--wa-teal); transition: transform .3s var(--wa-ease); }
.wa-q[open] summary svg { transform: rotate(45deg); }
.wa-q summary:focus-visible { outline: 3px solid var(--wa-teal); outline-offset: 2px; border-radius: 1rem; }
.wa-qa { padding: 0 1.2rem 1.1rem; font-size: .92rem; line-height: 1.7; color: rgba(220,229,240,.82); animation: wa-rise .35s var(--wa-ease) both; }
.wa-qa a { color: #5EEAD4; text-decoration: underline; }

/* ═════════ CTA ═════════ */
.wa-cta { position: relative; overflow: hidden; display: grid; gap: 1.4rem; align-items: center; padding: 2rem 1.6rem; border-radius: 1.4rem; background: radial-gradient(ellipse 600px 300px at 0% 0%, rgba(20,184,166,.5), transparent 65%), radial-gradient(ellipse 500px 260px at 100% 100%, rgba(10,90,223,.4), transparent 65%), linear-gradient(135deg, #0F2F4D, #0B1240); border: 1px solid rgba(255,255,255,.16); }
@media (min-width: 768px) { .wa-cta { grid-template-columns: auto 1fr auto; padding: 2.2rem 2.6rem; gap: 2rem; } }
.wa-cta-ico { width: 4.4rem; height: 4.4rem; border-radius: 1.2rem; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #14B8A6, #0A5ADF); box-shadow: 0 0 0 6px rgba(20,184,166,.25), 0 14px 40px rgba(20,184,166,.45); }
.wa-cta-ico svg { width: 2.2rem; height: 2.2rem; }
.wa-cta h2 { margin: 0; font-size: clamp(1.5rem, 1.15rem + 1.4vw, 2.2rem); font-weight: 900; line-height: 1.15; color: #fff; }
.wa-cta h2 .wa-hl { color: var(--wa-lime); }
.wa-cta h2 .wa-hl::after { background: var(--wa-teal); }
.wa-cta p { margin: .6rem 0 0; font-size: 1rem; line-height: 1.6; color: rgba(255,255,255,.8); }

/* ═════════ REDUCED MOTION ═════════ */
@media (prefers-reduced-motion: reduce) {
  .wa-hero-copy > *, .wa-win-bar em i, .wa-n.is-run, .wa-n.is-gate, .wa-btn-p, .wa-run, .wa-gate, .wa-log li { animation: none !important; }
  .js .wa-reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .wa-hl::after { transform: scaleX(1) !important; animation: none !important; }
  .wa-tabset [role="tabpanel"]:not([hidden]) { animation: none !important; }
  .wa-cmp .bar i { transition: none; }
}

/* ═════════ SEE ONE WORKFLOW IN ACTION ═════════ */
.wa-story { margin-top: 2.2rem; }
.wa-sbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1.2rem; margin-bottom: 1.1rem; padding: .8rem 1rem; border-radius: 1rem; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.wa-sstat { flex: 1 1 18rem; margin: 0; font-size: .9rem; line-height: 1.5; color: #E8EAF6; }
.wa-sacts { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem; }
.wa-sacts .wa-switch { margin-left: 0; }
.wa-sacts button[hidden] { display: none; }
.wa-sacts .wa-btn-s { display: inline-flex; align-items: center; gap: .4rem; }
.wa-sacts .wa-btn-s svg { width: .9rem; height: .9rem; }
.wa-story:not(.is-live) .wa-sbar, .wa-story:not(.is-live) #wa-s-go { display: none; }
.wa-story button:focus-visible, .wa-story input:focus-visible, .wa-story select:focus-visible { outline: 3px solid var(--wa-teal); outline-offset: 2px; }

.wa-pipe { display: grid; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 1100px) { .wa-pipe { grid-template-columns: 1fr 1.7rem 1fr 1.7rem 1.45fr 1.7rem 1fr 1.7rem 1fr; } }

/* connectors: data packets travel along them (down on phones, across on desktop) */
.wa-cn { position: relative; display: block; width: 2px; height: 1.9rem; margin: 0 auto; background: rgba(255,255,255,.2); }
.wa-cn::after { content: ''; position: absolute; left: 50%; bottom: 0; width: .55rem; height: .55rem; margin-left: -.275rem; border-right: 2px solid rgba(255,255,255,.35); border-bottom: 2px solid rgba(255,255,255,.35); transform: translateY(1px) rotate(45deg); }
.wa-cn .dot { position: absolute; left: 50%; top: 0; width: .65rem; height: .65rem; margin-left: -.325rem; border-radius: 50%; background: var(--wa-lime); box-shadow: 0 0 .9rem var(--wa-lime); opacity: 0; z-index: 2; }
.wa-cn.is-go .dot { animation: wa-hop-y .95s ease-in-out both; }
.wa-cn.is-lit { background: rgba(45,212,191,.85); }
.wa-cn.is-lit::after { border-color: var(--wa-teal); }
.wa-cn.is-lit::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(180deg, rgba(163,230,53,.95) 0 4px, transparent 4px 14px); background-size: 2px 14px; opacity: .5; animation: wa-dash-y 1.6s linear infinite; }
@keyframes wa-hop-y { 0% { top: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: calc(100% - .65rem); opacity: 0; } }
@keyframes wa-hop-x { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - .65rem); opacity: 0; } }
@keyframes wa-dash-y { to { background-position: 0 14px; } }
@keyframes wa-dash-x { to { background-position: 14px 0; } }
@media (min-width: 1100px) {
  .wa-cn { width: auto; height: 2px; margin: auto 0; }
  .wa-cn::after { left: auto; right: 0; bottom: auto; top: 50%; margin: -.275rem 0 0; transform: translateX(1px) rotate(-45deg); }
  .wa-cn .dot { left: 0; top: 50%; margin: -.325rem 0 0; }
  .wa-cn.is-go .dot { animation-name: wa-hop-x; }
  .wa-cn.is-lit::before { background: repeating-linear-gradient(90deg, rgba(163,230,53,.95) 0 4px, transparent 4px 14px); background-size: 14px 2px; animation-name: wa-dash-x; }
}

.wa-st { display: flex; flex-direction: column; min-width: 0; border-radius: 1.1rem; background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.16); transition: transform .3s var(--wa-ease), border-color .3s, box-shadow .3s, background .3s; }
.wa-st:hover { transform: translateY(-4px); border-color: rgba(45,212,191,.7); box-shadow: 0 18px 40px rgba(20,184,166,.22); }
.wa-st header { display: flex; align-items: center; gap: .6rem; padding: .75rem .85rem .55rem; }
.wa-st header .n { flex: none; width: 1.7rem; height: 1.7rem; border-radius: 50%; display: grid; place-items: center; font-size: .74rem; font-weight: 900; color: #fff; background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.28); transition: background .3s, border-color .3s, color .3s; }
.wa-st header h3 { margin: 0; font-size: .9rem; font-weight: 800; line-height: 1.2; color: #fff; }
.wa-st header small { display: block; margin-top: .05rem; font-size: .64rem; font-weight: 700; color: rgba(200,205,235,.65); }
.wa-st .body { flex: 1; display: grid; align-content: start; gap: .55rem; padding: .2rem .85rem .95rem; }
.wa-st .wait { display: none; margin: 0; padding: .6rem .85rem 1rem; font-size: .74rem; color: rgba(200,205,235,.55); }
.wa-st.is-idle { background: transparent; border-style: dashed; border-color: rgba(255,255,255,.22); }
.wa-st.is-idle:hover { transform: none; box-shadow: none; }
.wa-st.is-idle .body { display: none; }
.wa-st.is-idle .wait { display: block; }
.wa-st.is-run { border-color: rgba(94,234,212,.95); box-shadow: 0 0 0 3px rgba(45,212,191,.2); }
.wa-st.is-run header .n { background: var(--wa-teal); border-color: #fff; color: #042F2E; }
.wa-st.is-done header .n { background: rgba(74,222,128,.25); border-color: var(--wa-green); }
.wa-st.is-done { border-color: rgba(74,222,128,.4); }
.wa-st .body > * { animation: wa-rise .45s var(--wa-ease) both; }

.wa-form { display: grid; gap: .55rem; }
.wa-form label { display: grid; gap: .2rem; font-size: .64rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: rgba(200,205,235,.75); }
.wa-form input, .wa-form select { width: 100%; padding: .45rem .6rem; border-radius: .6rem; font: inherit; font-size: .8rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); }
.wa-form select option { color: #0B1240; }
.wa-form input[readonly], .wa-form select:disabled { opacity: .7; }
.wa-form .wa-btn-p { margin-top: .2rem; }
.wa-form .wa-btn-p:disabled { animation: none; opacity: .55; cursor: default; }

.wa-fields { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
.wa-fields li { display: grid; grid-template-columns: 3.4rem 1fr auto; align-items: center; gap: .4rem; font-size: .76rem; animation: wa-rise .4s var(--wa-ease) both; animation-delay: calc(var(--i, 0) * .16s); }
.wa-fields .k { font-size: .6rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: rgba(200,205,235,.6); }
.wa-fields b { min-width: 0; font-weight: 700; color: #fff; overflow-wrap: anywhere; }
.wa-fields svg { width: .85rem; height: .85rem; color: var(--wa-green); stroke-width: 3; }
.wa-fields li.warn svg { color: var(--wa-amber); }
.wa-chk { display: flex; gap: .4rem; margin: 0; padding: .4rem .55rem; border-radius: .6rem; font-size: .68rem; line-height: 1.4; color: #D1FAE5; background: rgba(74,222,128,.1); border: 1px solid rgba(74,222,128,.35); }
.wa-chk svg { flex: none; width: .9rem; height: .9rem; margin-top: .05rem; color: var(--wa-green); }
.wa-chk.warn { color: #FDE68A; background: rgba(251,191,36,.1); border-color: rgba(251,191,36,.4); }
.wa-chk.warn svg { color: var(--wa-amber); }

.wa-leads { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.wa-leads .r { display: grid; grid-template-columns: 2.7rem 1fr auto; align-items: center; gap: .5rem; padding: .45rem .55rem; border-radius: .65rem; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.wa-leads code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .62rem; color: rgba(200,205,235,.55); }
.wa-leads b { display: block; font-size: .76rem; font-weight: 800; color: #fff; overflow-wrap: anywhere; }
.wa-leads small { display: block; font-size: .64rem; color: rgba(200,205,235,.65); }
.wa-leads .wa-tag { font-size: .56rem; padding: .18rem .5rem; }
.wa-leads .r.new { border-color: rgba(163,230,53,.7); background: rgba(163,230,53,.08); animation: wa-newrow .9s var(--wa-ease) both; }
@keyframes wa-newrow { 0% { opacity: 0; transform: translateY(-14px) scale(.97); box-shadow: 0 0 0 0 rgba(163,230,53,.7); } 55% { box-shadow: 0 0 0 .55rem rgba(163,230,53,0); } 100% { opacity: 1; transform: none; box-shadow: 0 0 0 0 rgba(163,230,53,0); } }
.wa-leads .r.flash { animation: wa-flashrow .9s ease-out; }
@keyframes wa-flashrow { 0% { background: rgba(163,230,53,.28); } 100% { background: rgba(163,230,53,.08); } }

.wa-ph { border-radius: .85rem; overflow: hidden; background: #0A1F1C; border: 1px solid rgba(37,211,102,.4); }
.wa-ph-h { display: flex; align-items: center; gap: .45rem; padding: .4rem .65rem; font-size: .64rem; font-weight: 800; color: #fff; background: #0B5A4A; }
.wa-ph-h i { width: .5rem; height: .5rem; border-radius: 50%; background: #25D366; }
.wa-bub { margin: .55rem; padding: .5rem .65rem; border-radius: .2rem .8rem .8rem .8rem; font-size: .74rem; line-height: 1.45; color: #fff; background: rgba(37,211,102,.18); border: 1px solid rgba(37,211,102,.4); overflow-wrap: anywhere; }
.wa-bub.out { border-radius: .8rem .2rem .8rem .8rem; background: rgba(74,143,255,.2); border-color: rgba(74,143,255,.5); }
.wa-ph.cust { border-color: rgba(74,143,255,.4); }
.wa-ph.cust .wa-ph-h { background: #1D3C8F; }
.wa-also { margin: 0; font-size: .68rem; color: rgba(200,205,235,.65); }
.wa-tl { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
.wa-tl li { display: flex; gap: .45rem; align-items: flex-start; font-size: .7rem; line-height: 1.4; color: rgba(232,234,246,.85); }
.wa-tl svg { flex: none; width: .85rem; height: .85rem; margin-top: .1rem; color: var(--wa-amber); }
.wa-tl li.done svg { color: var(--wa-green); stroke-width: 3; }

.wa-outcome { display: grid; gap: .6rem; grid-template-columns: 1fr; margin: 1.3rem 0 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .wa-outcome { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .wa-outcome { grid-template-columns: repeat(5, 1fr); } }
.wa-outcome li { display: flex; align-items: center; gap: .55rem; padding: .65rem .8rem; border-radius: .9rem; font-size: .8rem; font-weight: 700; line-height: 1.35; color: rgba(200,205,235,.6); background: rgba(255,255,255,.04); border: 1px dashed rgba(255,255,255,.2); transition: color .4s, background .4s, border-color .4s; }
.wa-outcome li svg { flex: none; width: 1.1rem; height: 1.1rem; padding: .15rem; border-radius: 50%; color: transparent; background: rgba(255,255,255,.1); transition: background .4s, color .4s; stroke-width: 3; }
.wa-outcome li.is-on { color: #fff; background: rgba(74,222,128,.1); border: 1px solid rgba(74,222,128,.5); }
.wa-outcome li.is-on svg { color: #052E16; background: var(--wa-green); }
.wa-ill { margin: .9rem 0 0; font-size: .74rem; line-height: 1.5; color: rgba(200,205,235,.6); }
.js .wa-story:not(.is-live) .wa-pipe { visibility: hidden; }

/* hover lift on workflow cards elsewhere on the page */
.wa-tab:not([aria-selected="true"]):hover { transform: translateY(-3px); }
.wa-igrp { transition: transform .3s var(--wa-ease), border-color .3s, box-shadow .3s; }
.wa-igrp:hover { transform: translateY(-4px); border-color: rgba(45,212,191,.6); box-shadow: 0 16px 36px rgba(20,184,166,.18); }
.wa-chain li { transition: transform .25s var(--wa-ease), box-shadow .25s; }
.wa-chain li:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0,0,0,.25); }

/* use-case chains read top to bottom on phones */
@media (max-width: 639px) {
  .wa-chain { flex-direction: column; align-items: stretch; gap: 0; }
  .wa-chain li:not(:last-child) { margin: 0 0 1.15rem; }
  .wa-chain li:not(:last-child)::after { content: '↓'; right: auto; left: 1.1rem; top: auto; bottom: -1.05rem; transform: none; font-size: .95rem; color: var(--wa-teal); }
}

@media (prefers-reduced-motion: reduce) {
  .wa-cn.is-go .dot, .wa-cn.is-lit::before, .wa-st .body > *, .wa-fields li, .wa-leads .r.new, .wa-leads .r.flash { animation: none !important; }
  .wa-cn .dot { display: none; }
  .wa-st, .wa-igrp, .wa-chain li, .wa-tab { transition: none; }
}
