/* ---------- "From the first call to the day after launch.": slider on the dark band, playful UI demos, no strokes ---------- */
.wfh-ft { --ft-grey: #9a9a9a; --ft-white: #fff; --ft-margin: var(--gutter, 1rem); --ft-gap: 1rem; --ft-radius: 22px; --ft-blue: var(--wfh-main); --ft-green: #22c55e; --ft-sun: #ffd166; --ft-peach: #ff9a6c; --ft-ink: #12110b; --ft-muted: #8a8f99; --ft-ease: cubic-bezier(.2,.7,.2,1); --ft-shadow: 0 16px 34px -20px rgba(16,24,40,.28), 0 0 0 1px rgba(18,17,11,.06);
  display: flex; flex-direction: column; overflow: hidden; margin-top: 0; padding: clamp(6rem, 9vw, 8.5rem) 0 clamp(5rem, 9vw, 8rem); background: var(--clr-black-static, #12110b); color: var(--ft-grey); font-family: var(--ff-body); font-weight: 500; font-size: 1.125rem; line-height: 1.4; }
/* the theme zeroes the top padding of a block that follows a block with the same background; this one keeps its own */
.block-wrapper.wfh-block[data-wfh-features] > .wfh-ft { padding-block-start: clamp(6rem, 9vw, 8.5rem); }
.wfh-ft__head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 1.25rem 2rem; width: 100%; margin: 0 0 clamp(2.25rem, 4vw, 3.5rem); padding: 0 var(--ft-margin); }
.wfh-ft__title { margin: 0; font-family: var(--ff-title); font-weight: 500; font-size: clamp(1.9rem, 3.2vw, 2.9rem); line-height: 1.06; letter-spacing: -.02em; color: var(--ft-white); }
.wfh-ft__nav { display: flex; gap: .6rem; margin-bottom: .2rem; }
.wfh-ft__arrow { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.1); color: var(--ft-white); cursor: pointer; transition: background .25s var(--ft-ease), color .25s var(--ft-ease), transform .25s var(--ft-ease), opacity .25s; }
.wfh-ft__arrow:hover { background: var(--ft-white); color: var(--ft-ink); transform: translateY(-2px); }
.wfh-ft__arrow:active { transform: translateY(0) scale(.96); }
.wfh-ft__arrow:disabled { opacity: .3; cursor: default; background: rgba(255,255,255,.1); color: var(--ft-white); transform: none; }
.wfh-ft__arrow:focus-visible { outline: 2px solid var(--ft-blue); outline-offset: 3px; }

.wfh-ft__scroller { width: 100%; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; cursor: grab; -webkit-overflow-scrolling: touch; padding: 14px 0; margin: -14px 0; scroll-snap-type: x proximity; }
.wfh-ft__scroller::-webkit-scrollbar { display: none; }
.wfh-ft__scroller.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.wfh-ft__scroller.is-dragging * { pointer-events: none; }
.wfh-ft__row { display: flex; gap: var(--ft-gap); width: max-content; padding: 0 var(--ft-margin); white-space: nowrap; }
.wfh-ft__card { width: clamp(18rem, 29vw, 26rem); white-space: initial; scroll-snap-align: start; scroll-margin-left: var(--ft-margin); }
.wfh-ft__vis { position: relative; width: 100%; aspect-ratio: .92; border-radius: var(--ft-radius); overflow: hidden; isolation: isolate; color: var(--ft-ink); background: #f4f4f2; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
/* OUTLINE_MODE: no fill, just the ring above. Set OUTLINE_MODE = False in the builder to bring back the translucent fill + colour glow. */

/* hover: no lift, no glow; the other cards fade so the hovered one is the focus */
.wfh-ft__card { transition: opacity .45s var(--ft-ease); }
@media (hover: hover) { .wfh-ft__row:has(.wfh-ft__card:hover) .wfh-ft__card:not(:hover) { opacity: .4; } }
.wfh-ft__caption { display: flex; flex-direction: column; gap: 10px; padding: var(--ft-gap) 2rem 0 0; color: var(--ft-grey); }
.wfh-ft__h { position: relative; margin: 0; font: inherit; font-weight: 600; font-size: 1.05rem; color: var(--ft-white); }
.wfh-ft__caption p { margin: 0; }

/* ----- atoms ----- */
.ui { position: absolute; inset: 0; z-index: 1; padding: 1.25rem; font-size: .88rem; line-height: 1.3; color: var(--ft-ink); }
.ui-sample { position: absolute; right: 1rem; bottom: .7rem; z-index: 5; font-size: .6rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ft-muted); opacity: .85; pointer-events: none; }
.ui-line { display: block; height: 7px; margin: 0 0 7px; border-radius: 4px; background: rgba(18,17,11,.08); }
.ui-line--sm { height: 5px; }
.ui-line--title { height: 10px; margin-bottom: 9px; background: rgba(18,17,11,.18); }
.ui-img { height: 50px; margin: 6px 0 12px; border-radius: 12px; }
.ui-img--sun { background: linear-gradient(135deg, #ffe08a, #fff5cf); }
.ui-av { display: inline-block; flex: none; width: 30px; height: 30px; border-radius: 50%; object-fit: cover; background: #dfe6f3; box-shadow: 0 0 0 2px #fff, 0 8px 16px -8px rgba(16,24,40,.55); }
.ui-av--ini { display: inline-grid; place-items: center; background: linear-gradient(135deg, var(--wfh-main), var(--wfh-main-light)); color: #fff; font-weight: 700; font-size: .8rem; }
.ui-av--ini.is-2 { background: linear-gradient(135deg, #ff9a6c, #ffc2a3); color: var(--ft-ink); }
.ui-caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -.2em; background: var(--ft-blue); animation: ui-caret 1s steps(2) infinite; }
.ui-cursor { position: absolute; left: 0; top: 0; z-index: 5; filter: drop-shadow(0 3px 5px rgba(0,0,0,.25)); transform: translate(140px, 190px); opacity: 0; pointer-events: none; }
.ui-check { display: inline-grid; place-items: center; width: 17px; height: 17px; margin-right: .45rem; border-radius: 50%; background: var(--ft-green); color: #fff; vertical-align: -3px; }
.ui-check::before { content: ""; width: 7px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateY(-1px) rotate(-45deg); }
.ui-ghost { margin-top: .55rem; padding: .55rem .8rem; border-radius: 12px; background: rgba(18,17,11,.04); opacity: 0; transform: translateY(10px); }
.ui-ghost .ui-line { margin: 3px 0; background: rgba(18,17,11,.1); }
.ui-sticker { display: inline-block; padding: .38rem .75rem; border-radius: 999px; font-size: .76rem; font-weight: 700; color: var(--ft-ink); box-shadow: var(--ft-shadow); transform: scale(0) rotate(8deg); opacity: 0; white-space: nowrap; }
.ui-sticker--sun { background: var(--ft-sun); } .ui-sticker--green { background: #c9f3d8; color: #137a3d; } .ui-sticker--blue { background: var(--ft-blue); color: #fff; }
.ui-toast { position: absolute; right: 1.25rem; bottom: 1.1rem; z-index: 4; display: inline-flex; align-items: center; padding: .5rem .8rem .5rem .6rem; border-radius: 999px; background: #fff; color: var(--ft-ink); font-size: .8rem; font-weight: 600; box-shadow: 0 12px 30px -12px rgba(0,0,0,.5); opacity: 0; transform: translateY(10px) scale(.9); white-space: nowrap; }
.ui-field { position: relative; display: flex; align-items: center; min-height: 2.1rem; padding: 0 .6rem; border-radius: 10px; background: #fff; font-size: .84rem; font-weight: 500; transition: box-shadow .25s, background .25s; }
.ui-field.is-focus { background: #fff; box-shadow: 0 0 0 3px rgb(from var(--wfh-main) r g b / .22); }
.ui-field--muted { color: var(--ft-muted); }
.ui-field__text { white-space: nowrap; }
.ui-field__text.is-selected { background: rgb(from var(--wfh-main) r g b / .25); border-radius: 3px; }
.ui-field .ui-caret { opacity: 0; }
.ui-field.is-focus .ui-caret { opacity: 1; }
@keyframes ui-caret { 50% { opacity: 0; } }

/* funnel: real faces drop in at the top and move down the stages */
.ui--funnel { display: grid; align-content: center; padding: 1.25rem 1.25rem 3.4rem; }
.ui--funnel .ui-sample { top: .8rem; bottom: auto; }
.ui-fn { position: relative; display: grid; gap: .55rem; padding-top: .35rem; }
.ui-fn__stage { position: relative; display: flex; align-items: center; justify-content: space-between; gap: .5rem; width: var(--w); height: 2.6rem; margin: 0 auto; padding: 0 .95rem; border-radius: 999px; background: #fff; box-shadow: var(--ft-shadow); font-size: .82rem; font-weight: 600; color: var(--ft-ink); }
.ui-fn__stage--2 { background: var(--wfh-main-tint); } .ui-fn__stage--3 { background: var(--ft-blue); color: #fff; }
.ui-fn__stage > span:first-child { flex: none; }
.ui-fn__avs { flex: 1; align-self: stretch; min-width: 1.5rem; }
.ui-fn__stage b { flex: none; min-width: 2.4ch; text-align: right; font-variant-numeric: tabular-nums; transform-origin: 100% 50%; }
.ui-fn__people { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.ui-fn__people .ui-av { position: absolute; left: 0; top: 0; opacity: 0; }
.ui-cal { position: absolute; left: 1.25rem; bottom: 1.1rem; display: inline-flex; align-items: center; gap: .6rem; padding: .4rem .85rem .4rem .45rem; border-radius: 999px; background: #fff; box-shadow: var(--ft-shadow); font-size: .78rem; font-weight: 600; opacity: 0; transform: translateY(10px) scale(.9); }
.ui-cal__day { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ft-ink); color: #fff; font-size: .62rem; }
.ui--funnel > .ui-sticker { position: absolute; right: 1.25rem; bottom: 1.2rem; }

/* globe: an interactive wireframe globe sticks out of the bottom-right corner; the phrase glitches between languages */
.ui--globe { padding: 1.35rem; }
.ui-gl__copy { position: relative; z-index: 2; max-width: 64%; pointer-events: none; }
.ui-gl__phrase { min-height: 2.3em; font-family: var(--ff-title); font-size: 1.5rem; font-weight: 600; line-height: 1.15; letter-spacing: -.02em; color: var(--ft-ink); overflow-wrap: anywhere; }
.ui-gl__meta { margin-top: .55rem; font-size: .8rem; font-weight: 600; color: rgba(18,17,11,.55); }
.ui-gl__meta b { color: var(--ft-ink); font-weight: 700; }
.ui-gl__host { position: absolute; right: -24%; bottom: -22%; width: 100%; aspect-ratio: 1; cursor: grab; touch-action: pan-y; user-select: none; }
.ui-gl__host.is-dragging { cursor: grabbing; }
.ui-gl__host::before { content: ""; position: absolute; inset: 6.5%; border-radius: 50%; background: radial-gradient(circle at 38% 32%, #ffffff 0%, #eceeef 55%, #e2e5e8 100%); box-shadow: 0 40px 80px -40px rgb(from var(--wfh-main) r g b / .7); }
.ui-gl__host canvas { position: absolute; inset: 0; display: block; width: 100% !important; height: 100% !important; }
.ui-gl__chips { position: absolute; inset: 0; pointer-events: none; }
.ui-chip { position: absolute; left: 0; top: 0; display: grid; place-items: center; height: 1.5rem; padding: 0 .5rem; border-radius: 999px; background: #fff; color: var(--ft-ink); font-size: .66rem; font-weight: 700; letter-spacing: .04em; white-space: nowrap; box-shadow: 0 10px 20px -10px rgba(0,0,0,.45); translate: -50% calc(-50% - 1.1rem); scale: 0; opacity: 0; transition: scale .35s cubic-bezier(.5,-.55,.65,.35); }
.ui-chip.is-on { scale: 1; transition: scale .5s cubic-bezier(.34,1.6,.64,1); }
.ui-chip.is-front { background: var(--ft-blue); color: #fff; }
.ui-gl__hint { position: absolute; left: 1.35rem; bottom: 1.2rem; z-index: 2; padding: .3rem .65rem; border-radius: 999px; background: rgba(18,17,11,.07); font-size: .68rem; font-weight: 700; color: rgba(18,17,11,.6); pointer-events: none; }
@media (hover: none) { .ui-gl__hint { display: none; } }

/* google */
.ui--google { display: flex; flex-direction: column; justify-content: center; padding: 1rem 1.1rem; }
.ui-g__top { display: flex; align-items: center; gap: .6rem; }
.ui-g__logo { display: inline-flex; font-family: "Product Sans", Fustat, Arial, sans-serif; font-weight: 700; font-size: 1.3rem; letter-spacing: -.03em; line-height: 1; }
.ui-g__bar { flex: 1; display: flex; align-items: center; gap: .35rem; height: 2.4rem; padding: 0 .85rem; border-radius: 999px; background: #fff; box-shadow: var(--ft-shadow); font-size: .86rem; }
.ui-g__text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-g__icons { margin-left: auto; display: inline-flex; align-items: center; gap: .4rem; }
.ui-g__lens { display: inline-flex; color: #4285F4; }
.ui-g__tabs { display: flex; gap: .9rem; margin: .7rem 0 .3rem .4rem; font-size: .72rem; color: rgba(18,17,11,.55); }
.ui-g__tabs .is-on { color: #8ab4f8; font-weight: 600; box-shadow: 0 2px 0 #8ab4f8; }
.ui-g__result { position: relative; margin-top: .5rem; padding: .7rem .85rem .8rem; border-radius: 14px; background: #fff; box-shadow: var(--ft-shadow); opacity: 0; transform: translateY(12px) scale(.96); transform-origin: 50% 50%; }
.ui-g__site { display: flex; align-items: center; gap: .5rem; font-size: .74rem; line-height: 1.15; }
.ui-g__site b { display: block; font-weight: 600; color: #202124; }
.ui-g__site small { color: #5f6368; font-size: .68rem; }
.ui-g__fav { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, #ffd166, #ff9a6c); color: #12110b; font-weight: 700; font-size: .8rem; }
.ui-g__title { margin-top: .4rem; font-size: .9rem; font-weight: 500; color: #1a0dab; line-height: 1.25; }
.ui-g__snip { margin-top: .2rem; font-size: .74rem; color: #4d5156; line-height: 1.35; }
.ui-g__pop { position: absolute; right: .6rem; top: -.9rem; }
.ui--google .ui-ghost { background: rgba(18,17,11,.04); }

/* chatgpt */
.ui--chat { display: flex; flex-direction: column; justify-content: center; gap: .7rem; padding: 1.1rem 1.2rem; }
.ui--chat .ui-c__composer { margin-top: 1.4rem; }
.ui-c__top { display: flex; align-items: center; justify-content: space-between; font-size: .86rem; font-weight: 600; color: var(--ft-ink); }
.ui-c__brand i { font-style: normal; font-size: .72rem; color: rgba(18,17,11,.5); }
.ui-c__dots { display: inline-flex; gap: 4px; } .ui-c__dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(18,17,11,.35); }
.ui-c__user { align-self: flex-end; max-width: 86%; padding: .6rem .85rem; border-radius: 18px; background: #fff; font-size: .86rem; line-height: 1.35; color: #0d0d0d; box-shadow: var(--ft-shadow); opacity: 0; transform: translateY(10px) scale(.95); transform-origin: 100% 100%; }
.ui-c__ai { display: flex; align-items: flex-start; gap: .55rem; }
.ui-c__logo { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #0d0d0d; color: #fff; opacity: 0; transform: scale(0); }
.ui-c__msg { position: relative; min-width: 0; padding: .55rem .8rem; border-radius: 16px 16px 16px 4px; background: #fff; box-shadow: var(--ft-shadow); font-size: .86rem; line-height: 1.4; color: #0d0d0d; opacity: 0; transform: translateY(8px); }
.ui-c__thinking { display: inline-flex; gap: 4px; align-items: center; height: 1.2em; }
.ui-c__thinking i { width: 6px; height: 6px; border-radius: 50%; background: #8e8ea0; animation: ui-think 1s ease-in-out infinite; }
.ui-c__thinking i:nth-child(2) { animation-delay: .15s; } .ui-c__thinking i:nth-child(3) { animation-delay: .3s; }
.ui-c__cite { display: inline-block; margin: .35rem 0 0; padding: .22rem .55rem; border-radius: 999px; background: var(--wfh-main-soft); color: var(--wfh-main-dark); font-size: .7rem; font-weight: 600; opacity: 0; transform: scale(.7); }
.ui-c__composer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; height: 2.5rem; padding: 0 .4rem 0 .9rem; border-radius: 999px; background: #fff; color: #8e8ea0; font-size: .84rem; box-shadow: var(--ft-shadow); }
.ui-c__send { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #0d0d0d; color: #fff; }
@keyframes ui-think { 50% { transform: translateY(-3px); opacity: .5; } }

/* speed: the dial alone, with speed streaks when it hits 99 */
.ui--speed { display: grid; place-items: center; padding: 1.25rem 1.25rem 3.4rem; }
.ui--speed .ui-speed__dial { width: 84%; }
.ui-speed__dial { position: relative; width: 74%; transform-origin: 50% 80%; }
.ui-dial { width: 100%; height: auto; display: block; }
.ui-dial__bg, .ui-dial__fg { fill: none; stroke-width: 12; stroke-linecap: round; }
.ui-dial__bg { stroke: rgba(18,17,11,.1); }
.ui-dial__fg { stroke: var(--ft-green); stroke-dasharray: 100 400; stroke-dashoffset: 106; } /* gap longer than the arc: nothing (not even a round cap) shows when empty */
.ui-dial__num { position: absolute; left: 0; right: 0; bottom: -2px; text-align: center; line-height: 1; }
.ui-dial__num b { display: block; font-size: 2.6rem; font-weight: 700; letter-spacing: -.04em; color: var(--ft-ink); font-variant-numeric: tabular-nums; transform-origin: 50% 70%; }
.ui-dial__num small { display: block; margin-top: .2rem; font-size: .7rem; font-weight: 600; color: rgba(18,17,11,.55); text-transform: uppercase; letter-spacing: .06em; }
.ui-sp__streaks { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.ui-sp__streaks i { position: absolute; left: -30%; height: 6px; border-radius: 999px; background: var(--ft-green); opacity: 0; }
.ui-sp__streaks i:nth-child(1) { top: 22%; width: 26%; } .ui-sp__streaks i:nth-child(2) { top: 36%; width: 16%; background: var(--ft-blue); } .ui-sp__streaks i:nth-child(3) { top: 50%; width: 32%; } .ui-sp__streaks i:nth-child(4) { top: 64%; width: 14%; background: var(--ft-sun); } .ui-sp__streaks i:nth-child(5) { top: 78%; width: 22%; }
.ui-speed__time { position: absolute; left: 1.25rem; bottom: 1.1rem; }
.ui-speed__time b { font-variant-numeric: tabular-nums; }

/* crm: Webflow on the left stays, the CRM on the right swaps, a lead travels along the line */
.ui--crm { display: grid; place-items: center; padding: 1.25rem 1.1rem; }
.ui-link { display: grid; grid-template-columns: 1fr .9fr 1fr; align-items: center; width: 100%; }
.ui-node { position: relative; z-index: 2; display: grid; justify-items: center; gap: .15rem; padding: .95rem .5rem .85rem; border-radius: 18px; background: #fff; box-shadow: var(--ft-shadow); text-align: center; transform-origin: 50% 50%; }
.ui-node b { margin-top: .35rem; font-size: .86rem; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.ui-node small { font-size: .68rem; font-weight: 600; color: var(--ft-muted); }
.ui-node__logo { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--wfh-main); color: var(--wfh-on-main); font-weight: 800; font-size: 1.15rem; box-shadow: 0 10px 20px -12px rgb(from var(--wfh-main) r g b / .8); }
.ui-node__logo--crm { background: var(--c, #ff7a59); box-shadow: 0 10px 20px -12px var(--c, #ff7a59); transition: background .35s; }
.ui-link__mid { position: relative; height: 24px; }
.ui-link__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ui-link__bg, .ui-link__flow { fill: none; stroke-width: 3; vector-effect: non-scaling-stroke; }
.ui-link__bg { stroke: rgba(18,17,11,.18); }
.ui-link__flow { stroke: var(--ft-blue); stroke-linecap: round; stroke-dasharray: 5 7; animation: ui-dash 1.1s linear infinite; }
.ui-lead { position: absolute; left: 0; top: 50%; z-index: 3; display: inline-flex; align-items: center; gap: .4rem; padding: .22rem .6rem .22rem .22rem; border-radius: 999px; background: #fff; box-shadow: 0 14px 28px -14px rgba(16,24,40,.55); font-size: .74rem; font-weight: 600; white-space: nowrap; opacity: 0; }
.ui-lead .ui-av { width: 26px; height: 26px; box-shadow: none; }
@keyframes ui-dash { to { stroke-dashoffset: -12; } }

/* heatmap: the page sticks out of the bottom; where visitors click and how far they read */
.ui--heat { padding: 1.25rem; }
.ui-page { position: absolute; left: 50%; bottom: -22%; width: 84%; height: 104%; translate: -50% 0; padding: .9rem 1rem; border-radius: 18px 18px 0 0; background: #fff; box-shadow: 0 -24px 60px -30px rgba(0,0,0,.35), 0 0 0 1px rgba(18,17,11,.06); overflow: hidden; }
.ui-page__bar { display: flex; align-items: center; gap: 5px; margin-bottom: 1rem; } .ui-page__bar i { width: 8px; height: 8px; border-radius: 50%; background: #e3e6ec; } .ui-page__bar b { margin-left: auto; width: 54px; height: 14px; border-radius: 999px; background: #eef0f4; }
.ui-page__cta { width: 38%; height: 22px; margin: .55rem 0 1.1rem; border-radius: 8px; background: var(--ft-blue); transform-origin: 50% 50%; }
.ui-page__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-bottom: 1rem; } .ui-page__grid i { height: 52px; border-radius: 10px; background: #eef0f4; }
.ui-heat { position: absolute; inset: 0; z-index: 2; pointer-events: none; mix-blend-mode: multiply; }
.ui-heat__blob { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); border-radius: 50%; translate: -50% -50%; transform: scale(0); background: radial-gradient(circle, rgba(255,64,48,.9) 0%, rgba(255,186,54,.7) 32%, rgba(104,204,128,.42) 58%, rgba(104,204,128,0) 72%); }
.ui-fold { position: absolute; left: 0; right: 0; top: 16%; z-index: 3; display: flex; align-items: center; gap: .5rem; padding: 0 .7rem; font-size: .66rem; font-weight: 700; color: var(--ft-blue); white-space: nowrap; opacity: 0; }
.ui-fold::after { content: ""; flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--ft-blue) 0 6px, transparent 6px 12px); }
.ui-fold b { padding: .2rem .5rem; border-radius: 999px; background: var(--ft-blue); color: #fff; font-variant-numeric: tabular-nums; }
.ui-legend { position: absolute; right: 1.25rem; top: 1.2rem; z-index: 3; display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .7rem; border-radius: 999px; background: #fff; box-shadow: var(--ft-shadow); font-size: .62rem; font-weight: 700; letter-spacing: .02em; color: var(--ft-muted); }
.ui-legend i { width: 54px; height: 8px; border-radius: 999px; background: linear-gradient(90deg, #68cc80, #ffba36, #ff4030); }
.ui-heat__pop { position: absolute; left: 1.25rem; bottom: 1.1rem; z-index: 4; }

/* analytics: a plain summary */
.ui--ana { display: flex; flex-direction: column; justify-content: center; gap: .8rem; padding: 1.1rem; }
.ui--ana .ui-bars { height: 64px; }
.ui-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.ui-kpi { padding: .55rem .7rem; border-radius: 12px; background: #fff; box-shadow: var(--ft-shadow); }
.ui-kpi small { display: block; font-size: .6rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ft-muted); white-space: nowrap; }
.ui-kpi b { display: block; margin-top: .12rem; font-size: 1.15rem; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.ui-bars { display: flex; align-items: flex-end; gap: 4px; height: 44px; padding: 0 .25rem; }
.ui-bars i { flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px; background: rgba(18,17,11,.16); transform-origin: 50% 100%; transform: scaleY(0); }
.ui-bars i:nth-child(n+9) { background: var(--ft-blue); }
.ui-sess { display: grid; gap: .4rem; }
.ui-sess__row { display: flex; align-items: center; gap: .6rem; padding: .42rem .6rem; border-radius: 12px; background: #fff; box-shadow: var(--ft-shadow); font-size: .76rem; opacity: 0; transform: translateX(14px); }
.ui-sess__row b { display: block; font-weight: 600; }
.ui-sess__row small { display: block; font-size: .7rem; color: var(--ft-muted); white-space: nowrap; }
.ui-sess__row em { display: inline-block; font-style: normal; font-weight: 700; color: #137a3d; transform-origin: 0 50%; }
.ui-sess__row em.is-warn { color: #b45309; }

/* cms */
.ui-cms { display: grid; grid-template-columns: 1.05fr .95fr; gap: .8rem; height: 100%; }
.ui-cms__panel { display: grid; align-content: start; gap: .3rem; padding: .85rem; border-radius: 16px; background: #fff; box-shadow: var(--ft-shadow); }
.ui-cms__panel label { font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ft-muted); margin-top: .3rem; }
.ui-cms .ui-field { background: #eef0f4; }
.ui-cms .ui-field.is-focus { background: var(--wfh-main-soft); }
.ui-chip-status { display: flex; }
.ui-chip { }
.ui-cms .ui-chip { position: static; display: flex; align-items: center; min-height: 2.1rem; padding: 0 .6rem; border-radius: 10px; background: #eef0f4; font-size: .82rem; font-weight: 600; translate: none; scale: none; opacity: 1; box-shadow: none; color: var(--ft-ink); height: auto; letter-spacing: 0; transition: none; }
.ui-status { display: inline-flex; align-items: center; gap: .4rem; color: #8a5a00; }
.ui-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ft-sun); }
.ui-status.is-live { color: #137a3d; }
.ui-status.is-live::before { background: var(--ft-green); box-shadow: 0 0 0 0 rgba(34,197,94,.5); animation: ui-pulse 1.4s ease-out 2; }
.ui-publish { margin-top: .5rem; padding: .6rem; border-radius: 11px; background: var(--ft-blue); color: #fff; text-align: center; font-weight: 600; font-size: .82rem; transform-origin: 50% 50%; box-shadow: 0 10px 24px -12px rgb(from var(--wfh-main) r g b / .8); }
.ui-cms__preview { padding: .8rem; border-radius: 16px; background: #fff; box-shadow: var(--ft-shadow); transform: rotate(1.5deg); }
.ui-cms__preview .ui-img { margin: 0 0 10px; }
.ui-prev__title { margin: 0 0 8px; font-weight: 600; font-size: .88rem; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* team: a chat with the person who builds the site */
.ui--team { display: flex; flex-direction: column; justify-content: center; padding: 1.2rem; }
.ui--team .ui-th__bar { margin-top: 1.6rem; }
.ui-th { position: relative; display: grid; gap: .65rem; align-content: start; }
.ui-th__row { display: flex; align-items: flex-end; gap: .5rem; opacity: 0; transform: translateY(10px) scale(.95); transform-origin: 0 100%; }
.ui-th__row--team { position: relative; }
.ui-th__bubble { max-width: 80%; padding: .6rem .85rem; border-radius: 16px 16px 16px 4px; background: #fff; box-shadow: var(--ft-shadow); font-size: .86rem; line-height: 1.35; color: var(--ft-ink); }
.ui-th__bubble--team { background: var(--ft-blue); color: #fff; }
.ui-th__bubble--team .ui-c__thinking i { background: rgba(255,255,255,.75); }
.ui-th__react { position: absolute; left: 3.1rem; bottom: -.7rem; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: var(--ft-shadow); font-size: .95rem; opacity: 0; transform: scale(0); }
.ui-th__stamp { position: absolute; right: 1.2rem; bottom: 4.3rem; }
.ui-th__bar { margin-top: auto; display: flex; align-items: center; justify-content: space-between; height: 2.5rem; padding: 0 .4rem 0 .9rem; border-radius: 999px; background: #fff; color: var(--ft-muted); font-size: .84rem; box-shadow: var(--ft-shadow); }
@keyframes ui-pulse { to { box-shadow: 0 0 0 8px rgba(34,197,94,0); } }

/* static end-states: no JS, reduced motion */
.wfh-ft.is-static .ui-g__result, .wfh-ft.is-static .ui-ghost, .wfh-ft.is-static .ui-sticker, .wfh-ft.is-static .ui-c__user, .wfh-ft.is-static .ui-c__logo, .wfh-ft.is-static .ui-c__msg, .wfh-ft.is-static .ui-c__cite, .wfh-ft.is-static .ui-toast, .wfh-ft.is-static .ui-cal, .wfh-ft.is-static .ui-th__row, .wfh-ft.is-static .ui-th__react, .wfh-ft.is-static .ui-sess__row, .wfh-ft.is-static .ui-lead { opacity: 1; transform: none; }
.wfh-ft.is-static .ui-bars i, .wfh-ft.is-static .ui-heat__blob { transform: none; } .wfh-ft.is-static .ui-fold { opacity: 1; top: 60%; }
.wfh-ft.is-static .ui-dial__fg { stroke-dashoffset: 1; }
.wfh-ft.is-static .ui-dial__num b::after { content: "99"; } .wfh-ft.is-static [data-ms]::after { content: "0.8"; }
.wfh-ft.is-static .ui-fn__stage b::after { content: attr(data-count); } .wfh-ft.is-static .ui-kpi b[data-count]::after { content: attr(data-count) attr(data-suffix); }
.wfh-ft.is-static .ui-g__text::after { content: "payroll software for small agencies"; }
.wfh-ft.is-static .ui-c__text::after { content: "Your company. Its site answers the questions teams actually ask: what it covers, what it costs and how to start."; }
.wfh-ft.is-static .ui-th__text::after { content: "Yes. Draft on Thursday, live Friday morning."; }
.wfh-ft.is-static .ui-fn__people .ui-av { position: static; opacity: 1; margin-right: -8px; } .wfh-ft.is-static .ui-fn__people { position: absolute; left: 1.25rem; top: 1.6rem; width: auto; height: auto; display: flex; }
.wfh-ft.is-static .ui-c__thinking, .wfh-ft.is-static .ui-caret, .wfh-ft.is-static .ui-cursor, .wfh-ft.is-static .ui-sp__streaks, .wfh-ft.is-static .ui-gl__hint { display: none; }
.wfh-ft.is-static .ui-link__flow { animation: none; }

@media (max-width: 900px) { .wfh-ft__scroller { scroll-snap-type: x mandatory; } .wfh-ft__card { scroll-snap-align: center; } }
@media (max-width: 640px) { .wfh-ft__nav { display: none; } }
@media (max-width: 500px) { .wfh-ft__card { width: calc(100vw - 2 * var(--ft-margin) - 15px); } .ui-cms { grid-template-columns: 1fr; } .ui-cms__preview { display: none; } }
@media (prefers-reduced-motion: reduce) { .wfh-ft__vis, .ui-field, .wfh-ft__arrow, .ui-chip { transition: none; } .ui-caret, .ui-status.is-live::before, .ui-c__thinking i, .ui-link__flow { animation: none; } }
