/* The landing pages' showcases and link bands (the homepage doesn't use them, so it doesn't load this).
   A showcase: the points down one side and a stage beside them playing each point's live demo (tools/demos.mjs) as it
   reaches the middle of the screen. Every demo is drawn in cqw, so it's the same scene on a phone as on a 27" screen.
   .fv.run restarts a demo's entrance; .fu parts rise in after their own --d seconds. */

/* ---------------- the showcase ---------------- */
.feat { --line: rgba(29, 107, 243, 0.14); display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
.feat-stage { position: sticky; top: max(5.5rem, calc(50vh - 16rem)); }
.feat-screen { position: relative; aspect-ratio: 5 / 4; border-radius: 2rem; overflow: hidden; isolation: isolate; container-type: inline-size; color: var(--ink); background: radial-gradient(90% 80% at 50% 0%, #ffffff 0%, #eef4ff 60%, #e3edff 100%); box-shadow: 0 0 0 1px rgba(29, 107, 243, 0.1), 0 3rem 6rem -3rem rgba(10, 40, 120, 0.45); }
.feat-screen::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(29, 107, 243, 0.16) 0.12cqw, transparent 0.16cqw); background-size: 3.6cqw 3.6cqw; -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent); mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent); }
.feat-glow { position: absolute; z-index: -1; left: 50%; top: 50%; width: 80cqw; height: 80cqw; margin: -40cqw 0 0 -40cqw; border-radius: 50%; background: radial-gradient(closest-side, rgba(98, 180, 255, 0.4), transparent); animation: feat-breathe 7s ease-in-out infinite; }
@keyframes feat-breathe { 50% { scale: 1.15; opacity: 0.7; } }
.feat-cap { position: absolute; z-index: 3; left: 3.4cqw; top: 3.2cqw; display: flex; align-items: center; gap: 1.4cqw; padding: 1cqw 2.2cqw 1cqw 1cqw; border-radius: 99cqw; background: rgba(255, 255, 255, 0.8); -webkit-backdrop-filter: blur(1.5cqw); backdrop-filter: blur(1.5cqw); box-shadow: 0 0 0 1px rgba(10, 22, 48, 0.06); font-size: 2cqw; font-weight: 600; }
.feat-cap b { display: grid; place-items: center; height: 4.2cqw; padding: 0 1.4cqw; border-radius: 99cqw; background: var(--blue); color: #fff; font-size: 1.9cqw; }

/* the points: a rail fills down beside them as you go; the one on stage lights up */
.feat-list { position: relative; margin: 0; padding: 0 0 0 2.25rem; list-style: none; }
.feat-list::before, .feat-list::after { content: ""; position: absolute; left: 0.4375rem; top: 2.5rem; width: 2px; border-radius: 2px; }
.feat-list::before { bottom: 2.5rem; background: var(--line); }
.feat-list::after { height: calc((100% - 5rem) * var(--fp, 0)); background: linear-gradient(var(--blue), #62b4ff); transition: height 0.7s var(--out); }
.feat-it { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: start; gap: 1.25rem; min-height: 38vh; padding: 1.5rem 0; cursor: pointer; }
.feat-it::before { content: ""; position: absolute; left: -2.25rem; top: 2.875rem; width: 0.9375rem; height: 0.9375rem; margin-top: -0.46875rem; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--line); transition: background-color 0.4s, box-shadow 0.4s, scale 0.5s var(--bounce); }
.feat-it.is-on::before { background: var(--blue); box-shadow: 0 0 0 0.375rem rgba(29, 107, 243, 0.18); scale: 1.15; }
.feat-n { padding-top: 0.875rem; color: rgba(29, 107, 243, 0.4); font: 700 0.9375rem var(--display); letter-spacing: 0.04em; transition: color 0.4s; }
.feat-it h3 { display: flex; align-items: center; gap: 0.875rem; color: var(--ink); font: 700 clamp(1.5rem, 2.3vw, 2.125rem)/1.12 var(--display); letter-spacing: -0.035em; opacity: 0.3; transition: opacity 0.5s; }
.feat-ic { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; flex: none; border-radius: 0.875rem; background: var(--ice); color: var(--blue); transition: background 0.4s, color 0.4s, rotate 0.6s var(--bounce), scale 0.6s var(--bounce); }
.feat-ic .i { width: 1.25rem; height: 1.25rem; }
.feat-it p { max-width: 30em; margin-top: 0.875rem; color: var(--ink-2); font-size: 1.0625rem; line-height: 1.6; opacity: 0.4; transition: opacity 0.5s; }
.feat-it:hover h3 { opacity: 0.6; }
.feat-it.is-on h3, .feat-it.is-on p { opacity: 1; }
.feat-it.is-on .feat-n { color: var(--blue); }
.feat-it.is-on .feat-ic { background: linear-gradient(145deg, #3d8cff, #1452d4); color: #fff; rotate: -8deg; scale: 1.06; box-shadow: 0 0.75rem 1.5rem -0.75rem rgba(29, 107, 243, 0.9); }

/* mirrored: the stage on the right (How it works, so it doesn't repeat the layout above it) */
.feat.rev { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); }
.feat.rev .feat-stage { order: 2; }
/* the homepage's founder section: the promises under the signature */
.founder .feat { width: 100%; margin-top: clamp(3.5rem, 7vw, 5.5rem); text-align: left; }
.process .feat { margin-top: clamp(1rem, 2vw, 1.5rem); }

/* on the blue (How it works, and the About page's 6-D steps) */
.feat.on-blue { --line: rgba(255, 255, 255, 0.2); }
.on-blue .feat-screen { background: radial-gradient(90% 80% at 50% 0%, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06) 70%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22), 0 3rem 6rem -3rem rgba(3, 15, 60, 0.6); -webkit-backdrop-filter: blur(0.5rem); backdrop-filter: blur(0.5rem); }
.on-blue .feat-screen::before { background-image: radial-gradient(rgba(255, 255, 255, 0.22) 0.12cqw, transparent 0.16cqw); }
.on-blue .feat-list::after { background: linear-gradient(#fff, #8fd2ff); }
.on-blue .feat-it::before { background: #1452d4; }
.on-blue .feat-it.is-on::before { background: #fff; box-shadow: 0 0 0 0.375rem rgba(255, 255, 255, 0.2); }
.on-blue .feat-n { color: rgba(255, 255, 255, 0.45); }
.on-blue .feat-it.is-on .feat-n { color: #9fd0ff; }
.on-blue .feat-it h3 { color: #fff; font-size: clamp(1.75rem, 2.8vw, 2.75rem); }
.on-blue .feat-it h3::first-letter { color: #8fd2ff; }
.on-blue .feat-it p { color: rgba(255, 255, 255, 0.85); }

/* ---------------- the demos ---------------- */
.fv { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 4cqw; padding: 9cqw 6cqw 7cqw; opacity: 0; scale: 0.97; font-size: 2.4cqw; line-height: 1.3; pointer-events: none; transition: opacity 0.5s, scale 0.8s var(--out); }
.fv.is-on { opacity: 1; scale: 1; }
.fv:not(.is-on) *, .fv:not(.is-on) *::before, .fv:not(.is-on) *::after { animation-play-state: paused !important; }
.fv.run .fu { animation: fv-up 0.85s var(--out) calc(var(--d, 0) * 1s) both; }
@keyframes fv-up { from { opacity: 0; translate: 0 4cqw; } }
.fv .i { width: 1.2em; height: 1.2em; }
.fv-card { border-radius: 3cqw; background: #fff; box-shadow: 0 0 0 1px rgba(10, 22, 48, 0.06), 0 3cqw 6cqw -3cqw rgba(10, 40, 120, 0.45); }
.fv .x-h { display: flex; align-items: center; justify-content: space-between; gap: 2cqw; }
.fv .x-h b { font: 700 3.2cqw/1.1 var(--display); letter-spacing: -0.02em; }
.fv .x-h small { display: inline-flex; align-items: center; gap: 1cqw; color: var(--ink-2); font-size: 2.1cqw; }
.fv .sv-pill { font-size: 2cqw; padding: 0.8cqw 1.8cqw; }
.fv .dot { width: 1.5cqw; height: 1.5cqw; background: var(--green); }
.fv .stars::before { letter-spacing: 0.04em; }
.x-ti { display: grid; place-items: center; width: 6.4cqw; height: 6.4cqw; flex: none; border-radius: 1.9cqw; background: var(--blue); color: #fff; }
.x-ti.g { background: var(--green); }
.x-ti .i { width: 3.2cqw; height: 3.2cqw; stroke-width: 2.4; }
.x-toast { position: absolute; z-index: 2; top: 10cqw; right: 5cqw; display: flex; align-items: center; gap: 2cqw; padding: 1.8cqw 3.2cqw 1.8cqw 1.8cqw; border-radius: 2.8cqw; background: #fff; box-shadow: 0 3cqw 6cqw -2cqw rgba(3, 15, 60, 0.45), 0 0 0 1px rgba(10, 22, 48, 0.05); }
.x-toast b { display: block; font-size: 2.5cqw; }
.x-toast small { display: block; color: var(--ink-2); font-size: 2cqw; }
.x-chip { position: absolute; z-index: 2; left: 0; right: 0; bottom: 5.5cqw; width: max-content; max-width: 86%; margin: auto; display: flex; align-items: center; gap: 1.4cqw; padding: 1.5cqw 3cqw; border-radius: 99cqw; background: var(--ink); color: #fff; font-size: 2.2cqw; font-weight: 600; box-shadow: 0 2cqw 4cqw -2cqw rgba(3, 15, 60, 0.6); }
.x-go { display: flex; justify-content: center; padding: 2.1cqw; border-radius: 99cqw; background: var(--ink); color: #fff; font-size: 2.4cqw; font-weight: 700; }
@keyframes x-press { 40% { scale: 0.94; } 100% { background: var(--green); } }
@keyframes x-pick { to { background: var(--blue); color: #fff; box-shadow: none; } }
@keyframes x-fill { from { scale: 0 1; } }
@keyframes x-pop { from { scale: 0; } }
@keyframes x-grow { from { scale: 1 0; } }

/* call: the site on a phone, its call button ringing */
.x-phone { flex: none; width: 28cqw; aspect-ratio: 9 / 18.6; padding: 1.1cqw; border-radius: 5.6cqw; background: #0b0d12; box-shadow: 0 0 0 0.3cqw #c9ced8, 0 5cqw 9cqw -3cqw rgba(10, 40, 120, 0.6); }
.x-scr { position: relative; display: flex; flex-direction: column; gap: 1.8cqw; height: 100%; padding: 5cqw 2.4cqw 0; border-radius: 4.6cqw; overflow: hidden; background: #fff; }
.x-top { display: flex; align-items: center; gap: 1cqw; font-size: 2.2cqw; }
.x-top i { width: 3cqw; height: 3cqw; border-radius: 0.9cqw; background: var(--b-acc); }
.x-top span { width: 4cqw; height: 1.4cqw; margin-left: auto; border-radius: 1cqw; background: #e6eaf0; }
.x-hero { display: flex; flex-direction: column; justify-content: flex-end; gap: 1cqw; height: 22cqw; padding: 2.4cqw; border-radius: 2.4cqw; background: radial-gradient(80% 90% at 80% 0%, var(--b-light), var(--b-acc) 50%, var(--b-deep)); }
.x-hero i { width: 82%; height: 1.8cqw; border-radius: 1cqw; background: rgba(255, 255, 255, 0.92); }
.x-hero i.s { width: 52%; opacity: 0.65; }
.x-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4cqw; }
.x-tiles i { height: 9cqw; border-radius: 2cqw; background: #f1f4f8; }
.x-bar { position: absolute; left: 2cqw; right: 2cqw; bottom: 2.6cqw; display: grid; grid-template-columns: 1.25fr 1fr; gap: 1.2cqw; }
.x-bar > span { position: relative; display: flex; align-items: center; justify-content: center; gap: 0.8cqw; height: 6.2cqw; border-radius: 99cqw; font-size: 1.8cqw; font-weight: 700; white-space: nowrap; }
.x-call { background: var(--green); color: #fff; animation: x-buzz 1.8s 1.2s infinite; }
.x-wa { background: #e8f8ee; color: #128c4b; }
.x-rings { position: absolute; inset: 0; border-radius: inherit; }
.x-rings i { position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0.5cqw rgba(31, 191, 106, 0.55); animation: x-ring 1.8s ease-out infinite; }
.x-rings i + i { animation-delay: 0.9s; }
@keyframes x-ring { from { opacity: 1; scale: 1; } to { opacity: 0; scale: 1.3 1.8; } }
@keyframes x-buzz { 0%, 24%, 100% { rotate: 0deg; } 4% { rotate: -3deg; } 8% { rotate: 3deg; } 12% { rotate: -2deg; } 16% { rotate: 2deg; } }
.fv-call .x-toast { top: 14cqw; right: 4cqw; }

/* map: the area you cover, the pins dropping in */
.x-map { position: relative; width: 80cqw; height: 52cqw; overflow: hidden; background: #e8edf2; }
.x-map .sea { position: absolute; right: -14%; bottom: -36%; width: 50%; height: 80%; border-radius: 50%; background: #cfe2f6; }
.x-map .rd { position: absolute; background: #fff; }
.x-map .r1 { left: -5%; right: -5%; top: 44%; height: 2.2cqw; rotate: -7deg; }
.x-map .r2 { top: -12%; bottom: -12%; left: 30%; width: 2cqw; rotate: 14deg; }
.x-map .r3 { top: -12%; bottom: -12%; left: 68%; width: 1.5cqw; rotate: -20deg; background: #f6dc95; }
.x-map .area { position: absolute; left: 50%; top: 48%; width: 40cqw; height: 40cqw; margin: -20cqw 0 0 -20cqw; border-radius: 50%; background: rgba(29, 107, 243, 0.14); box-shadow: inset 0 0 0 0.35cqw rgba(29, 107, 243, 0.55); animation: x-breathe 3s ease-in-out infinite; }
.fv.run .x-map .area { animation: x-pop 1.2s var(--out) 0.3s both, x-breathe 3s ease-in-out 1.6s infinite; }
@keyframes x-breathe { 50% { scale: 1.06; } }
.x-map .mp { position: absolute; width: 2.8cqw; height: 2.8cqw; margin: -2.8cqw 0 0 -1.4cqw; border-radius: 50% 50% 50% 0; rotate: -45deg; background: var(--blue); box-shadow: 0 0 0 0.5cqw #fff; }
.fv.run .x-map .mp { animation: x-drop 0.7s var(--bounce) calc(0.7s + var(--k) * 0.15s) both; }
@keyframes x-drop { from { opacity: 0; translate: 0 -6cqw; } }
.x-map .me { position: absolute; left: 50%; top: 48%; display: grid; place-items: center; width: 8cqw; height: 8cqw; margin: -4cqw 0 0 -4cqw; border-radius: 50%; background: var(--blue); color: #fff; box-shadow: 0 0 0 1.4cqw rgba(29, 107, 243, 0.25), 0 2cqw 4cqw -1cqw rgba(29, 107, 243, 0.8); }
.x-map .me .i { width: 3.6cqw; height: 3.6cqw; }

/* reviews: the rating filling up, a real review rising under it */
.x-col { display: grid; gap: 2.6cqw; width: 74cqw; }
.x-sum { display: flex; align-items: center; gap: 3cqw; padding: 3.4cqw 4cqw; }
.x-sum > b { font: 700 10cqw/1 var(--display); letter-spacing: -0.05em; }
.x-stars { position: relative; display: block; color: #e3e7ee; font-size: 4cqw; font-style: normal; letter-spacing: 0.08em; }
.x-stars::before, .x-stars i::before { content: "\2605\2605\2605\2605\2605"; }
.x-stars i { position: absolute; inset: 0; width: 98%; overflow: hidden; color: #f4b400; white-space: nowrap; }
.fv.run .x-stars i { animation: x-stars 1.4s var(--out) 0.4s both; }
@keyframes x-stars { from { width: 0; } }
.x-sum small { display: block; margin-top: 0.6cqw; color: var(--ink-2); font-size: 2.1cqw; }
.x-dist { display: grid; gap: 0.9cqw; width: 18cqw; margin-left: auto; }
.x-dist i { position: relative; height: 1.1cqw; border-radius: 1cqw; overflow: hidden; background: #eef1f5; }
.x-dist i::after { content: ""; position: absolute; inset: 0; width: var(--w); border-radius: inherit; background: #f4b400; transform-origin: left; }
.fv.run .x-dist i::after { animation: x-fill 1s var(--out) calc(0.6s + var(--k) * 0.1s) both; }
.x-quote { padding: 3.4cqw 4cqw; font-size: 3cqw; }
.x-quote p { margin-top: 1cqw; font: 600 3cqw/1.35 var(--display); letter-spacing: -0.02em; }
.x-quote small { display: block; margin-top: 1.4cqw; color: var(--ink-2); font-size: 2.1cqw; }

/* secure: the shield scanned and ticked, the badges checking in */
.fv-secure { gap: 6cqw; }
.x-shield { position: relative; display: grid; place-items: center; width: 28cqw; aspect-ratio: 1; flex: none; border-radius: 7cqw; overflow: hidden; background: linear-gradient(145deg, #3d8cff, #1452d4); box-shadow: 0 5cqw 9cqw -3cqw rgba(29, 107, 243, 0.85); }
.x-shield svg { width: 58%; fill: rgba(255, 255, 255, 0.12); stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.x-shield .ck { fill: none; stroke-dasharray: 1; stroke-width: 1.8; }
.fv.run .x-shield .ck { animation: x-draw 0.7s var(--out) 0.7s both; }
@keyframes x-draw { from { stroke-dashoffset: 1; } }
.x-shield .scan { position: absolute; left: 0; right: 0; height: 30%; background: linear-gradient(transparent, rgba(255, 255, 255, 0.4), transparent); animation: x-scan 2.8s ease-in-out infinite; }
@keyframes x-scan { from { top: -30%; } to { top: 100%; } }
.x-badges { display: grid; gap: 2cqw; }
.x-badges span { display: flex; align-items: center; gap: 2cqw; padding: 2.2cqw 3.6cqw 2.2cqw 2.2cqw; border-radius: 2.6cqw; background: #fff; box-shadow: 0 0 0 1px rgba(10, 22, 48, 0.06), 0 2cqw 4cqw -2cqw rgba(10, 40, 120, 0.4); font-size: 2.7cqw; font-weight: 600; white-space: nowrap; }
.x-badges i, .x-qr i, .x-sy .tk, .x-cks i { display: grid; place-items: center; width: 4.6cqw; height: 4.6cqw; flex: none; border-radius: 50%; background: var(--green); color: #fff; }
.x-badges .i, .x-qr .i, .x-sy .tk .i, .x-cks .i { width: 2.6cqw; height: 2.6cqw; stroke-width: 3; }

/* booking: a day, a job and a time picked, then booked */
.x-book { display: grid; gap: 2.4cqw; width: 64cqw; padding: 4cqw; }
.x-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.3cqw; }
.x-days span { display: grid; justify-items: center; padding: 1.3cqw 0; border-radius: 2cqw; background: #f3f6fa; }
.x-days small { color: var(--ink-2); font-size: 1.8cqw; }
.x-days b { font-size: 2.9cqw; }
.x-days .on { background: var(--blue); color: #fff; }
.x-days .on small { color: rgba(255, 255, 255, 0.8); }
.x-chips { display: flex; flex-wrap: wrap; gap: 1.2cqw; }
.x-chips span, .x-slots span { padding: 1.2cqw 2.2cqw; border-radius: 99cqw; box-shadow: inset 0 0 0 0.25cqw #dfe4eb; font-size: 2.1cqw; font-weight: 600; }
.x-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2cqw; text-align: center; }
.x-slots span { border-radius: 1.6cqw; }
.fv.run .x-chips span:first-child { animation: x-pick 0.35s 0.8s both; }
.fv.run .x-slots span:nth-child(2) { animation: x-pick 0.35s 1.25s both; }
.fv.run .x-book .x-go { animation: x-press 0.5s 1.7s both; }

/* search: the search typed, you first */
.x-srch { display: grid; gap: 1.6cqw; width: 74cqw; padding: 3.2cqw; }
.x-q { display: flex; align-items: center; gap: 1.6cqw; height: 8cqw; padding: 0 3cqw; border-radius: 99cqw; box-shadow: inset 0 0 0 0.25cqw #dfe3ea; color: #202124; font-size: 2.8cqw; }
.x-q .i { color: #70757a; }
.x-qt { white-space: nowrap; }
.fv.run .x-qt { animation: sv-type 1s steps(var(--n, 16), end) 0.3s both; }
.x-car { width: 0.3cqw; height: 3.6cqw; margin-left: -1cqw; background: var(--blue); animation: caret 1s steps(1) infinite; }
.x-r { display: flex; align-items: center; gap: 2cqw; padding: 2cqw 2.4cqw; border-radius: 2.2cqw; box-shadow: inset 0 0 0 0.25cqw #eceff4; color: #5f6368; }
.x-r.me { box-shadow: inset 0 0 0 0.4cqw var(--blue), 0 2cqw 4cqw -2cqw rgba(29, 107, 243, 0.6); color: var(--ink); }
.x-r .n { display: grid; place-items: center; width: 5cqw; height: 5cqw; flex: none; border-radius: 50%; background: #eef1f5; font-size: 2.2cqw; font-weight: 700; }
.x-r.me .n { background: var(--blue); color: #fff; }
.x-r b { display: block; font-size: 2.6cqw; }
.x-r small { color: #5f6368; font-size: 2cqw; }
.x-r em { margin-left: auto; padding: 1.2cqw 2.2cqw; border-radius: 99cqw; background: var(--blue); color: #fff; font-size: 2cqw; font-style: normal; font-weight: 700; }

/* speed: the needle swings to 100 */
.x-speed { display: grid; justify-items: center; gap: 3cqw; width: 62cqw; padding: 4cqw; }
.x-gauge { position: relative; width: 44cqw; display: grid; justify-items: center; }
.x-gauge svg { width: 100%; overflow: visible; }
.x-gauge path { fill: none; stroke-width: 14; stroke-linecap: round; }
.x-gauge .bg { stroke: #e9f8ef; }
.x-gauge .fg { stroke: #0cce6b; stroke-dasharray: 100; }
.fv.run .x-gauge .fg { animation: x-arc 1.6s var(--out) 0.3s both; }
@keyframes x-arc { from { stroke-dashoffset: 100; } }
.x-dial { position: relative; display: block; width: 100%; }
.x-gauge .needle { position: absolute; left: 50%; bottom: 7.1%; width: 0.9cqw; height: 14cqw; margin-left: -0.45cqw; border-radius: 1cqw; background: var(--ink); transform-origin: 50% 100%; rotate: 88deg; }
.x-gauge .needle::after { content: ""; position: absolute; left: 50%; bottom: -1.6cqw; width: 3.6cqw; height: 3.6cqw; margin-left: -1.8cqw; border-radius: 50%; background: var(--ink); }
.fv.run .x-gauge .needle { animation: x-needle 1.6s var(--out) 0.3s both; }
@keyframes x-needle { from { rotate: -90deg; } }
.x-gauge b { margin-top: 2.4cqw; color: #0c7a43; font: 700 7cqw/1 var(--display); letter-spacing: -0.04em; }
.x-gauge small { color: var(--ink-2); font-size: 2.1cqw; }
.x-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6cqw; width: 100%; }
.x-trio span { display: grid; gap: 0.4cqw; padding: 2cqw; border-radius: 2cqw; background: #f5f8fd; color: var(--ink-2); font-size: 1.9cqw; text-align: center; }
.x-trio b { color: var(--ink); font: 700 3.4cqw var(--display); }

/* chat: a conversation, bubble by bubble */
.x-chat { width: 70cqw; overflow: hidden; }
.x-ch-h { display: flex; align-items: center; gap: 2cqw; padding: 2.6cqw 3cqw; border-bottom: 1px solid #eef1f5; }
.x-ch-h .av, .x-av { display: grid; place-items: center; width: 6.4cqw; height: 6.4cqw; flex: none; border-radius: 50%; background: linear-gradient(145deg, #3d8cff, #1452d4); color: #fff; font: 700 2.2cqw var(--display); }
.x-ch-h b { display: block; font-size: 2.6cqw; }
.x-ch-h small { display: flex; align-items: center; gap: 1cqw; color: var(--ink-2); font-size: 2cqw; }
.x-msgs { display: flex; flex-direction: column; gap: 1.6cqw; padding: 3cqw; background: #f4f7fb; }
.x-msgs p { max-width: 78%; padding: 1.8cqw 2.6cqw; border-radius: 3cqw; font-size: 2.4cqw; line-height: 1.35; }
.x-msgs .q { align-self: flex-start; border-bottom-left-radius: 0.8cqw; background: #fff; box-shadow: 0 1cqw 2cqw -1.4cqw rgba(10, 40, 120, 0.4); }
.x-msgs .a { align-self: flex-end; border-bottom-right-radius: 0.8cqw; background: var(--blue); color: #fff; }

/* gallery: the photos fan out, the front one slowly pushing in */
.x-gal { position: relative; width: 72cqw; height: 52cqw; }
.x-ph { position: absolute; top: 4cqw; width: 33cqw; height: 42cqw; border: 0.9cqw solid #fff; border-radius: 3cqw; overflow: hidden; background: #dfe6ef; box-shadow: 0 4cqw 8cqw -3cqw rgba(10, 40, 120, 0.55); }
.x-ph img { width: 100%; height: 100%; object-fit: cover; }
.x-ph.p0 { left: 0; rotate: -9deg; }
.x-ph.p1 { left: 19.5cqw; top: 0; z-index: 2; }
.x-ph.p2 { right: 0; z-index: 1; rotate: 9deg; }
.fv.run .x-ph.p1 img { animation: x-kb 7s ease-out both; }
@keyframes x-kb { from { scale: 1.18; } }
.fv-gallery .x-chip, .fv-pages .x-chip, .fv-design .x-chip { bottom: 4.5cqw; }

/* pages: a page for each one, cascading */
.x-stack { position: relative; width: 76cqw; height: 46cqw; }
.x-pg { position: absolute; display: grid; gap: 1.3cqw; width: 25cqw; padding: 2.2cqw; border-radius: 2.6cqw; background: #fff; box-shadow: 0 0 0 1px rgba(10, 22, 48, 0.06), 0 3cqw 6cqw -3cqw rgba(10, 40, 120, 0.5); }
.x-pg.c0 { left: 0; top: 7cqw; rotate: -6deg; }
.x-pg.c1 { left: 24.5cqw; top: 1cqw; z-index: 1; }
.x-pg.c2 { left: 49cqw; top: 7cqw; z-index: 2; rotate: 6deg; }
.x-pg-dots { display: flex; gap: 0.8cqw; }
.x-pg-dots i { width: 1.3cqw; height: 1.3cqw; border-radius: 50%; background: #e1e5eb; }
.x-pg .im { height: 10cqw; border-radius: 1.8cqw; background: radial-gradient(80% 90% at 80% 0%, var(--b-light), var(--b-acc) 50%, var(--b-deep)); }
.x-pg b { min-height: 5.4cqw; font: 700 2.6cqw/1.05 var(--display); letter-spacing: -0.02em; }
.x-pg .ln { height: 1.3cqw; border-radius: 1cqw; background: #eef1f5; }
.x-pg .ln.s { width: 62%; }
.x-pg .bt { width: 56%; height: 4cqw; border-radius: 99cqw; background: var(--blue); }

/* sync: each job's bar fills, then it's ticked off */
.x-sync { display: grid; gap: 2.6cqw; width: 74cqw; padding: 4cqw; }
.x-sy { display: grid; grid-template-columns: minmax(0, 1fr) 18cqw auto; align-items: center; gap: 2.4cqw; font-size: 2.4cqw; font-weight: 600; }
.x-sy > span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.x-sy .bar { height: 1.4cqw; border-radius: 1cqw; overflow: hidden; background: #eef1f5; }
.x-sy .bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #3d8cff, #1d6bf3); transform-origin: left; }
.fv.run .x-sy .bar i { animation: x-fill 0.9s var(--out) calc(0.3s + var(--k) * 0.35s) both; }
.fv.run .x-sy .tk { animation: x-pop 0.5s var(--bounce) calc(1.05s + var(--k) * 0.35s) both; }

/* form: the fields fill in, then it's sent */
.x-form { display: grid; gap: 2.2cqw; width: 60cqw; padding: 4cqw; }
.x-form label { display: grid; gap: 0.9cqw; }
.x-form small { color: var(--ink-2); font-size: 2cqw; font-weight: 600; }
.x-in { display: flex; align-items: center; height: 7cqw; padding: 0 2.4cqw; border-radius: 1.8cqw; box-shadow: inset 0 0 0 0.25cqw #dfe4eb; }
.x-in i { width: var(--w); height: 1.8cqw; border-radius: 1cqw; background: #c4cfde; transform-origin: left; }
.fv.run .x-in { animation: x-focus 0.9s calc(0.35s + var(--k) * 0.55s) both; }
.fv.run .x-in i { animation: x-fill 0.75s steps(9) calc(0.4s + var(--k) * 0.55s) both; }
@keyframes x-focus { 0%, 100% { box-shadow: inset 0 0 0 0.25cqw #dfe4eb; } 15%, 85% { box-shadow: inset 0 0 0 0.4cqw var(--blue); } }
.x-form .x-go { margin-top: 0.6cqw; background: var(--blue); }
.fv.run .x-form .x-go { animation: x-press 0.5s 2.1s both; }
.fv-form .x-toast { top: 8cqw; }

/* team: the people, one after another */
.x-team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4cqw; width: 80cqw; }
.x-tm { display: grid; justify-items: center; gap: 0.8cqw; padding: 4cqw 2cqw 3.6cqw; text-align: center; }
.x-tm .x-av { width: 13cqw; height: 13cqw; margin-bottom: 1.4cqw; font-size: 4cqw; box-shadow: 0 0 0 0.8cqw #fff, 0 2cqw 4cqw -1.5cqw rgba(29, 107, 243, 0.7); }
.x-av.a1 { background: linear-gradient(145deg, #34d27b, #0f8a4a); }
.x-av.a2 { background: linear-gradient(145deg, #ffa25f, #e05a00); }
.x-tm b { font: 700 2.8cqw var(--display); }
.x-tm small { color: var(--ink-2); font-size: 2cqw; }

/* pay: the card slides in, payment goes through */
.x-pay { display: grid; gap: 2.2cqw; width: 58cqw; padding: 3.6cqw; }
.x-line { display: flex; align-items: center; gap: 2cqw; }
.x-line img { width: 9cqw; height: 9cqw; border-radius: 1.8cqw; object-fit: cover; }
.x-line b { display: block; font-size: 2.6cqw; }
.x-line small { color: var(--ink-2); font-size: 2cqw; }
.x-card { display: flex; flex-direction: column; justify-content: space-between; height: 16cqw; padding: 2.6cqw; border-radius: 2.6cqw; background: linear-gradient(135deg, #3d8cff, #0a2f86); color: #fff; font-size: 2.6cqw; letter-spacing: 0.12em; box-shadow: 0 3cqw 6cqw -3cqw rgba(10, 47, 134, 0.8); }
.x-card .chip { width: 6cqw; height: 4.4cqw; border-radius: 1cqw; background: linear-gradient(135deg, #ffe2a6, #d4a03a); }
.fv.run .x-card { animation: x-cardin 0.9s var(--out) 0.4s both; }
@keyframes x-cardin { from { opacity: 0; translate: 26cqw 0; rotate: 10deg; } }
.x-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2cqw; text-align: center; }
.x-opts span { padding: 1.3cqw 0; border-radius: 1.6cqw; box-shadow: inset 0 0 0 0.25cqw #dfe4eb; font-size: 2cqw; font-weight: 600; }
.x-opts .on { box-shadow: inset 0 0 0 0.4cqw var(--blue); color: var(--blue); }
.x-pay .x-go { background: var(--blue); }
.fv.run .x-pay .x-go { animation: x-press 0.5s 1.6s both; }
.fv-pay .x-toast { top: 7cqw; }

/* track: the progress line runs from step to step */
.x-track { display: grid; gap: 4cqw; width: 72cqw; padding: 4cqw 4cqw 5cqw; }
.x-steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; font-size: 2.2cqw; font-weight: 600; }
.x-steps .rail { position: absolute; left: 16.6%; right: 16.6%; top: 2.6cqw; height: 1cqw; border-radius: 1cqw; background: #eef1f5; }
.x-steps .rail i { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, #3d8cff, #1fbf6a); transform-origin: left; }
.fv.run .x-steps .rail i { animation: x-fill 1.9s ease-in-out 0.5s both; }
.x-steps span { position: relative; display: grid; justify-items: center; gap: 1.4cqw; }
.x-steps span > i { display: grid; place-items: center; width: 6.2cqw; height: 6.2cqw; border-radius: 50%; background: var(--green); color: #fff; box-shadow: 0 0 0 0.8cqw #fff; }
.x-steps span > i .i { width: 3cqw; height: 3cqw; stroke-width: 3; }
.fv.run .x-steps span > i { animation: x-step 0.5s var(--bounce) calc(0.4s + var(--k) * 0.95s) both; }
@keyframes x-step { from { background: #dfe4eb; scale: 0.7; } }
.fv-track .x-toast { top: auto; bottom: 7cqw; }

/* inbox: the messages drop in */
.x-inbox { display: grid; gap: 2cqw; width: 72cqw; }
.x-msg { display: flex; align-items: center; gap: 2.4cqw; padding: 2.6cqw 3cqw; }
.x-msg b { display: block; font-size: 2.6cqw; }
.x-msg small { display: block; color: var(--ink-2); font-size: 2.1cqw; }
.x-msg time { margin-left: auto; color: var(--ink-3); font-size: 2cqw; }
.x-msg.x-new { box-shadow: 0 0 0 0.4cqw var(--blue), 0 3cqw 6cqw -3cqw rgba(29, 107, 243, 0.6); }

/* design: a wireframe, swept into the finished design */
.x-ds { position: relative; width: 76cqw; height: 52cqw; overflow: hidden; }
.x-wf, .x-rl { position: absolute; inset: 0; display: grid; grid-template-rows: auto 1fr auto; gap: 2.4cqw; padding: 3.4cqw; }
.x-rl { background: #fff; }
.fv.run .x-rl { animation: x-reveal 1.5s var(--spring) 0.6s both; }
@keyframes x-reveal { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
.x-nv { display: flex; align-items: center; gap: 2cqw; }
.x-nv i { width: 6cqw; height: 1.4cqw; border-radius: 1cqw; }
.x-nv .lg { width: 10cqw; height: 3cqw; margin-right: auto; }
.x-hr { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 3cqw; }
.x-hr div { display: grid; gap: 1.5cqw; }
.x-hr .h { height: 3.4cqw; border-radius: 1cqw; }
.x-hr .h.s { width: 68%; }
.x-hr .p { width: 86%; height: 1.4cqw; border-radius: 1cqw; }
.x-hr .b { width: 42%; height: 5cqw; border-radius: 99cqw; }
.x-hr .im { height: 22cqw; border-radius: 2.2cqw; }
.x-cd { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; }
.x-cd i { height: 8cqw; border-radius: 1.8cqw; }
.x-wf i { background: #f1f4f8; outline: 0.25cqw dashed #c3cedb; outline-offset: -0.25cqw; }
.x-rl .lg { background: var(--blue); }
.x-rl .x-nv i:not(.lg) { background: #dce4ef; }
.x-rl .h { background: var(--ink); }
.x-rl .p { background: #b9c4d3; }
.x-rl .b { background: var(--blue); box-shadow: 0 1.4cqw 2.8cqw -1.4cqw rgba(29, 107, 243, 0.9); }
.x-rl .im { background: radial-gradient(70% 80% at 80% 10%, #9fd0ff, #2f7bff 50%, #1452d4); }
.x-rl .x-cd i { background: #f3f7ff; box-shadow: inset 0 0.5cqw 0 var(--blue); }
.x-sw { position: absolute; top: 0; bottom: 0; left: 100%; width: 0.6cqw; background: var(--blue); box-shadow: 0 0 3cqw 1cqw rgba(29, 107, 243, 0.5); opacity: 0; }
.fv.run .x-sw { animation: x-sweep 1.5s var(--spring) 0.6s both; }
@keyframes x-sweep { 0% { left: 100%; opacity: 1; } 90% { opacity: 1; } 100% { left: 0; opacity: 0; } }

/* report: the numbers, and the bars climbing */
.x-rep { display: grid; gap: 3cqw; width: 74cqw; padding: 4cqw; }
.x-kpi { display: grid; grid-template-columns: repeat(var(--c, 3), 1fr); gap: 1.8cqw; }
.x-kpi span { padding: 2cqw 2.4cqw; border-radius: 2cqw; background: #f5f8fd; }
.x-kpi small { display: block; color: var(--ink-2); font-size: 1.8cqw; }
.x-kpi b { display: block; margin-top: 0.4cqw; font: 700 4.4cqw/1.05 var(--display); letter-spacing: -0.03em; }
.x-bars { display: flex; align-items: flex-end; gap: 1.4cqw; height: 17cqw; }
.x-bars i { flex: 1; height: var(--h); border-radius: 1cqw 1cqw 0.4cqw 0.4cqw; background: linear-gradient(#6aaeff, #1d6bf3); transform-origin: bottom; }
.x-bars i:last-child { background: linear-gradient(#34d27b, #1fbf6a); }
.fv.run .x-bars i { animation: x-grow 0.8s var(--out) calc(0.3s + var(--k) * 0.08s) both; }

/* quote: the lines ticked off, then stamped */
.x-quo { position: relative; display: grid; gap: 2cqw; width: 60cqw; padding: 4cqw; }
.x-quo .x-h { padding-bottom: 2cqw; border-bottom: 0.25cqw solid #eef1f5; }
.x-qr { display: flex; align-items: center; gap: 2cqw; font-size: 2.6cqw; font-weight: 600; }
.x-tot { display: flex; align-items: center; justify-content: space-between; gap: 2cqw; margin-top: 1cqw; padding: 2.4cqw 2.8cqw; border-radius: 2cqw; background: var(--mist); color: var(--ink-2); font-size: 2.1cqw; }
.x-tot b { color: var(--blue); font-size: 2.6cqw; }
.x-stamp { position: absolute; right: 3.6cqw; top: 11cqw; padding: 1.2cqw 2.6cqw; border: 0.5cqw solid var(--green); border-radius: 1.4cqw; color: var(--green); font: 800 3.2cqw var(--display); letter-spacing: 0.08em; text-transform: uppercase; rotate: -12deg; }
.fv.run .x-stamp { animation: x-stamp 0.5s var(--bounce) 1.5s both; }
@keyframes x-stamp { from { opacity: 0; scale: 2.2; } }

/* code: the page written line by line */
.x-code { width: 76cqw; overflow: hidden; background: #0d1426; color: #cfe0ff; }
.x-cbar { display: flex; align-items: center; gap: 1cqw; padding: 2cqw 2.6cqw; background: #141d33; }
.x-cbar i { width: 1.6cqw; height: 1.6cqw; border-radius: 50%; background: #ff5f57; }
.x-cbar i:nth-child(2) { background: #febc2e; }
.x-cbar i:nth-child(3) { background: #28c840; }
.x-cbar span { margin-left: 2cqw; color: #7f8db0; font-size: 2cqw; }
.x-pre { display: grid; gap: 1.3cqw; padding: 3.4cqw; font: 500 2.4cqw/1.3 ui-monospace, "SFMono-Regular", Consolas, monospace; }
.x-cl { white-space: pre; }
.x-cl u { color: #7cc4ff; text-decoration: none; }
.x-cl em { color: #c69bff; font-style: normal; }
.x-cl s { color: #9ef0b5; text-decoration: none; }
.x-cl b { color: #fff; font-weight: 500; }
.x-cl.c { color: #6c7a9c; }
.fv.run .x-cl { animation: x-type 0.5s steps(22) calc(0.3s + var(--k) * 0.45s) both; }
@keyframes x-type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.x-cur { display: inline-block; width: 1.2cqw; height: 2.8cqw; margin-left: 0.6cqw; vertical-align: -0.5cqw; background: #7cc4ff; animation: caret 1s steps(1) infinite; }

/* launch: the progress runs to the end, it goes live, and it's checked off */
.x-launch { display: grid; gap: 2.6cqw; width: 62cqw; padding: 4cqw; }
.x-url { display: flex; align-items: center; justify-content: center; gap: 1cqw; padding: 1.6cqw; border-radius: 1.6cqw; background: #f1f4f8; color: var(--ink-2); font-size: 2.3cqw; }
.x-prog { height: 1.6cqw; border-radius: 1cqw; overflow: hidden; background: #eef1f5; }
.x-prog i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #3d8cff, #1fbf6a); transform-origin: left; }
.fv.run .x-prog i { animation: x-fill 1.6s ease-in-out 0.3s both; }
.x-st { position: relative; height: 5cqw; font: 700 3.4cqw var(--display); }
.x-st span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 1.4cqw; }
.x-st .go { color: var(--ink-2); opacity: 0; }
.x-st .lv { color: #0c7a43; }
.fv.run .x-st .go { animation: x-blink 1.8s 0.2s both; }
.fv.run .x-st .lv { animation: x-pop 0.6s var(--bounce) 2s both; }
@keyframes x-blink { 0%, 90% { opacity: 1; } 100% { opacity: 0; } }
.x-cks { display: grid; gap: 1.4cqw; }
.x-cks span { display: flex; align-items: center; gap: 1.8cqw; font-size: 2.3cqw; font-weight: 600; }
.fv.run .x-cks i { animation: x-pop 0.45s var(--bounce) calc(2.2s + var(--k) * 0.2s) both; }
.x-burst { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.x-burst i { position: absolute; width: 1.6cqw; height: 1.6cqw; border-radius: 50%; background: var(--blue); opacity: 0; rotate: var(--a); }
.x-burst i:nth-child(3n) { background: var(--green); }
.x-burst i:nth-child(3n + 1) { background: #f4b400; }
.fv.run .x-burst i { animation: x-spark 1s var(--out) 2s both; }
@keyframes x-spark { 0% { opacity: 1; translate: 0 0; } 100% { opacity: 0; translate: 0 -34cqw; } }

/* menu: the dishes under their tabs */
.x-menu { display: grid; gap: 2cqw; width: 64cqw; padding: 3.6cqw; }
.x-tabs { display: flex; gap: 1.2cqw; padding-bottom: 2cqw; border-bottom: 0.25cqw solid #eef1f5; }
.x-tabs span { padding: 1.1cqw 2.4cqw; border-radius: 99cqw; color: var(--ink-2); font-size: 2.1cqw; font-weight: 600; }
.x-tabs .on { background: var(--blue); color: #fff; }
.x-dish { display: grid; grid-template-columns: 10cqw minmax(0, 1fr) auto; align-items: center; gap: 2.4cqw; }
.x-dish img { width: 10cqw; height: 10cqw; border-radius: 2cqw; object-fit: cover; }
.x-dish b { display: block; font: 700 2.7cqw/1.15 var(--display); letter-spacing: -0.02em; }
.x-dish small { display: block; margin-top: 0.4cqw; color: var(--ink-2); font-size: 2cqw; }
.x-dish em { font-style: normal; font-size: 2.4cqw; font-weight: 700; }
.fv-menu .x-chip { bottom: 4.5cqw; }

/* plans: three memberships, the popular one picked */
.x-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 2.2cqw; width: 80cqw; }
.x-plan { position: relative; display: grid; gap: 1.4cqw; padding: 3cqw 2.6cqw; }
.x-plan b { font: 700 3cqw/1.1 var(--display); letter-spacing: -0.02em; }
.x-plan small { min-height: 5cqw; color: var(--ink-2); font-size: 1.9cqw; line-height: 1.3; }
.x-plan .ln { height: 1.2cqw; border-radius: 1cqw; background: #eef1f5; }
.x-plan .ln.s { width: 64%; }
.x-plan .x-go { margin-top: 1cqw; padding: 1.6cqw; background: #eef3fb; color: var(--ink); font-size: 2cqw; }
.x-plan.hot { padding-top: 6cqw; box-shadow: 0 0 0 0.45cqw var(--blue), 0 3cqw 6cqw -3cqw rgba(10, 40, 120, 0.5); }
.x-plan.hot .x-go { background: var(--blue); color: #fff; }
.x-plan em { position: absolute; top: 2cqw; left: 2.6cqw; padding: 0.5cqw 1.4cqw; border-radius: 99cqw; background: var(--blue); color: #fff; font-size: 1.6cqw; font-style: normal; font-weight: 700; }
.fv.run .x-plan.hot .x-go { animation: x-press 0.5s 1.4s both; }
.fv-plans .x-toast { top: 6cqw; }

/* rewrite: the old line struck out, the new headline in its place */
.x-rw { display: grid; gap: 2.4cqw; width: 66cqw; padding: 4cqw; }
.x-rw .x-h { padding-bottom: 2cqw; border-bottom: 0.25cqw solid #eef1f5; }
.x-old { position: relative; justify-self: start; color: var(--ink-3); font: 400 2.6cqw/1.35 Georgia, "Times New Roman", serif; }
.x-old::after { content: ""; position: absolute; left: 0; right: 0; top: 52%; height: 0.35cqw; border-radius: 1cqw; background: #e5484d; transform-origin: left; scale: 0 1; }
.fv.run .x-old::after { animation: x-strike 0.6s var(--out) 0.6s both; }
.fv.run .x-old { animation: x-dim 0.5s 1.1s both; }
@keyframes x-strike { to { scale: 1 1; } }
@keyframes x-dim { to { opacity: 0.45; } }
.x-nh { color: var(--ink); font: 800 4.6cqw/1.05 var(--display); letter-spacing: -0.04em; }
.x-nh span { color: var(--blue); }
.x-rwt { display: flex; flex-wrap: wrap; gap: 1.2cqw 2.2cqw; }
.x-rwt span { display: inline-flex; align-items: center; gap: 1cqw; font-size: 2.1cqw; font-weight: 600; }
.x-rwt i { display: grid; place-items: center; width: 3.6cqw; height: 3.6cqw; border-radius: 50%; background: var(--green); color: #fff; }
.x-rwt .i { width: 2.2cqw; height: 2.2cqw; stroke-width: 3; }

/* filter: a property search filled in, then the homes it finds */
.x-filt { display: grid; gap: 2.2cqw; width: 66cqw; padding: 3.6cqw; }
.x-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4cqw; }
.x-fields span { display: grid; gap: 0.3cqw; padding: 1.4cqw 2cqw; border-radius: 1.8cqw; box-shadow: inset 0 0 0 0.25cqw #dfe4eb; }
.x-fields small { color: var(--ink-2); font-size: 1.7cqw; }
.x-fields b { font-size: 2.4cqw; }
.fv.run .x-fields span { animation: x-field 0.6s var(--out) calc(0.35s + var(--k) * 0.2s) both; }
@keyframes x-field { 50% { box-shadow: inset 0 0 0 0.45cqw var(--blue); } }
.x-filt .x-go { align-items: center; gap: 1cqw; background: var(--blue); }
.fv.run .x-filt .x-go { animation: x-press 0.5s 1.4s both; }
.x-homes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6cqw; }
.x-homes span { position: relative; overflow: hidden; border-radius: 2cqw; }
.x-homes img { display: block; width: 100%; height: 12cqw; object-fit: cover; }
.x-homes b { position: absolute; left: 1.4cqw; bottom: 1.2cqw; padding: 0.5cqw 1.4cqw; border-radius: 99cqw; background: rgba(255, 255, 255, 0.92); font-size: 1.8cqw; }

/* calc: the bill slides up, the saving appears */
.x-calc { display: grid; gap: 2.2cqw; width: 62cqw; padding: 4cqw; }
.x-lab { color: var(--ink-2); font-size: 2.1cqw; }
.x-slide { position: relative; height: 4.6cqw; }
.x-slide .tr { position: absolute; left: 0; right: 0; top: 50%; height: 1.4cqw; margin-top: -0.7cqw; overflow: hidden; border-radius: 1cqw; background: #eef1f5; }
.x-slide .tr i { display: block; width: 62%; height: 100%; background: linear-gradient(90deg, #3d8cff, #1d6bf3); transform-origin: left; }
.x-slide .th { position: absolute; top: 0; left: calc(62% - 2.3cqw); width: 4.6cqw; height: 4.6cqw; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0.5cqw var(--blue), 0 1cqw 2cqw -0.5cqw rgba(10, 40, 120, 0.5); }
.fv.run .x-slide .tr i { animation: x-fill 1s var(--out) 0.4s both; }
.fv.run .x-slide .th { animation: x-thumb 1s var(--out) 0.4s both; }
@keyframes x-thumb { from { left: -2.3cqw; } }
.x-save { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6cqw; }
.x-save span { display: grid; gap: 0.4cqw; padding: 2cqw 2.4cqw; border-radius: 2cqw; background: #f3f6fa; }
.x-save small { color: var(--ink-2); font-size: 1.9cqw; }
.x-save b { font: 800 3.6cqw/1 var(--display); letter-spacing: -0.03em; }
.x-save .on { background: #e7f8ef; }
.x-save .on b { color: #138a4c; }
.x-calc .x-go { background: var(--blue); }
.fv.run .x-calc .x-go { animation: x-press 0.5s 2s both; }

/* ---------------- the bands of links: services and industries as carousels ----------------
   The first card lines up with the page's content and four fit across it; the next one peeks in at the edge.
   The cards snap one at a time: arrows and dots on a computer (or drag them), a swipe on a phone. */
.car { --gap: 1.25rem; --per: 4; --edge: max(var(--gutter), calc((100% - 77.5rem) / 2 + var(--gutter))); position: relative; margin-top: 1.75rem; }
.xpl .more-sub { margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.car-view { position: relative; }
.car-track { display: flex; gap: var(--gap); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge); padding: 0.75rem var(--edge) 3rem; margin-bottom: -1.25rem; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--edge), #000 calc(100% - var(--edge)), transparent); mask-image: linear-gradient(90deg, transparent, #000 var(--edge), #000 calc(100% - var(--edge)), transparent); }
.car-track::-webkit-scrollbar { display: none; }
.car-track > .xc { scroll-snap-align: start; }
/* while a mouse drags it, it follows the pointer freely and snaps once it lands */
.car-track.is-drag { scroll-snap-type: none; cursor: grabbing; -webkit-user-select: none; user-select: none; }
.car-track.is-drag .xc { pointer-events: none; }
/* the arrows sit on the first and last card's outer edges, centred on the cards */
.car-btn { position: absolute; z-index: 2; top: calc(50% - 0.5rem); display: grid; place-items: center; width: 3.25rem; height: 3.25rem; padding: 0; border: 0; border-radius: 50%; background: var(--blue); color: #fff; box-shadow: 0 0 0 0.375rem rgba(255, 255, 255, 0.85), 0 1rem 2rem -0.5rem rgba(10, 40, 120, 0.45); cursor: pointer; translate: -50% -50%; transition: background 0.3s, scale 0.5s var(--bounce), opacity 0.4s; }
.car-btn.prev { left: max(var(--edge), 2.25rem); }
.car-btn.next { left: calc(100% - max(var(--edge), 2.25rem)); }
.car-btn .i { width: 1.25rem; height: 1.25rem; transition: translate 0.4s var(--bounce); }
.car-btn.prev .i { rotate: 180deg; }
.car-btn:hover { background: var(--blue-2, #0f4fd6); scale: 1.08; }
.car-btn.next:hover .i { translate: 0.125rem 0; }
.car-btn.prev:hover .i { translate: -0.125rem 0; }
.car-btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.car-btn.is-off { opacity: 0; scale: 0.6; pointer-events: none; }
/* the dots: one for each place it stops, the one it's at drawn long */
.car-dots { display: flex; justify-content: center; }
.car-dots button { display: grid; place-items: center; padding: 0.5rem 0.25rem; border: 0; background: none; cursor: pointer; }
.car-dots button::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 1rem; background: #c9d8f3; transition: width 0.5s var(--out), background 0.4s; }
.car-dots button:hover::before { background: #8fb3f0; }
.car-dots button.on::before { width: 1.75rem; background: var(--blue); }
.car.is-fixed .car-btn, .car.is-fixed .car-dots { display: none; }
/* under the industries: the page with all of them */
.car-all { display: flex; align-items: center; gap: 0.5rem; width: max-content; margin: 0.875rem auto 0; padding: 0.75rem 1.25rem; border-radius: 99rem; background: var(--mist); color: var(--blue); font-size: 0.9375rem; font-weight: 600; text-decoration: none; transition: background 0.3s, color 0.3s; }
.car-all:hover { background: var(--blue); color: #fff; }
.car-all .i { width: 1rem; height: 1rem; transition: translate 0.4s var(--bounce); }
.car-all:hover .i { translate: 0.25rem 0; }
.xc { position: relative; flex: none; display: flex; flex-direction: column; justify-content: flex-end; box-sizing: border-box; width: calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); aspect-ratio: 7 / 5; min-height: 11rem; padding: 1.25rem; border-radius: 1.5rem; overflow: hidden; isolation: isolate; color: #fff; text-align: left; text-decoration: none; box-shadow: 0 1.5rem 3rem -1.75rem rgba(10, 40, 120, 0.6); transition: translate 0.5s var(--bounce), box-shadow 0.4s; }
.xc:hover { translate: 0 -0.5rem; box-shadow: 0 2.25rem 3.5rem -1.75rem rgba(29, 107, 243, 0.65); }
.xc-ph { background: radial-gradient(120% 120% at 0% 0%, #3a5bd9, #12307f 55%, #061a44); }
.xc-ph img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--out); }
.xc-ph::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(6, 26, 68, 0) 30%, rgba(6, 26, 68, 0.85)); }
.xc:hover img { scale: 1.08; }
.xc-t { display: flex; align-items: center; gap: 0.625rem; }
.xc-t i { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: rgba(255, 255, 255, 0.22); -webkit-backdrop-filter: blur(0.375rem); backdrop-filter: blur(0.375rem); }
.xc-t .i { width: 1.125rem; height: 1.125rem; }
.xc b { font: 700 1.25rem/1.15 var(--display); letter-spacing: -0.02em; }
.xc em { position: absolute; top: 1rem; right: 1rem; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: #fff; color: var(--blue); font-style: normal; transition: rotate 0.5s var(--bounce); }
.xc em .i { width: 1rem; height: 1rem; }
.xc:hover em { rotate: -45deg; }
.xc-sv { justify-content: space-between; background: radial-gradient(120% 120% at 0% 0%, #5aa0ff, #1d6bf3 45%, #0c3aa8); }
.xc-sv:nth-child(even) { background: radial-gradient(120% 120% at 0% 0%, #3a5bd9, #12307f 50%, #061a44); }
.xc-ic { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 1rem; background: rgba(255, 255, 255, 0.18); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); }
.xc-ic .i { width: 1.5rem; height: 1.5rem; }
/* the service drawn big behind its card, light as a watermark, turning a little as the card is hovered */
.xc-big { position: absolute; z-index: -1; right: -1.5rem; top: -1.25rem; color: #fff; opacity: 0.13; rotate: -10deg; transition: rotate 0.8s var(--out), scale 0.8s var(--out), opacity 0.4s; }
.xc-big .i { width: 9.5rem; height: 9.5rem; stroke-width: 1.25; }
.xc-sv:hover .xc-big { rotate: 0deg; scale: 1.06; opacity: 0.2; }
.xc-sv small { display: block; margin-top: 0.3125rem; color: rgba(255, 255, 255, 0.8); font-size: 0.875rem; }

@media (max-width: 899px) {
  /* on a phone the stage stays at the top while the points scroll up under it */
  .feat { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .feat-stage { top: 0.75rem; z-index: 3; }
  .feat.rev { grid-template-columns: minmax(0, 1fr); }
  /* the points scroll up under the stage, so on the blue it's solid rather than glass */
  .on-blue .feat-screen { background: radial-gradient(90% 80% at 50% 0%, #5a96ff 0%, #2266ee 60%, #1a55d6 100%); }
  .feat.rev .feat-stage { order: 0; }
  .feat-screen { border-radius: 1.5rem; }
  .feat-list { margin-top: 1rem; }
  .feat-it { min-height: 30vh; gap: 1rem; padding: 1rem 0; }
  /* the last point needs no run-out after it, or the stage sits stuck over nothing */
  .feat-it:last-child { min-height: 0; padding-bottom: 2rem; }
  /* when the nav slides back in (scrolling up), the stage steps down below it */
  .feat-stage { transition: top 0.5s var(--out); }
  html.nav-up .feat-stage { top: calc(4.25rem + env(safe-area-inset-top, 0px) + 0.5rem); }
  /* the demos a touch bigger, so their words can be read on a phone */
  .fv { padding: 7.5cqw 3.5cqw 6cqw; scale: 1.06; }
  .fv.is-on { scale: 1.1; }
  .feat-it h3 { font-size: 1.5rem; }
  .on-blue .feat-it h3 { font-size: 1.75rem; }
  .feat-it p { font-size: 1rem; }
}
/* three cards across on a tablet; on a phone one and a bit, swiped, with the dots to show there's more */
@media (max-width: 1099px) {
  .car { --per: 3; }
}
@media (max-width: 699px) {
  .car { --gap: 1rem; }
  .car-track > .xc { width: 76%; }
  .car-btn { display: none; }
}
