/* AscendyX — motion layer
   Everything that moves lives here. Each illustration's resting state is the
   finished picture, so with reduced motion (or no animation support) the page
   still shows complete artwork. Loops are paused while off screen: JS adds
   .live to an .anim block only while it is visible. */

@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

/* ---------- Pause anything off screen ---------- */
.js .anim:not(.live), .js .anim:not(.live) *,
.js .anim:not(.live)::before, .js .anim:not(.live)::after { animation-play-state: paused !important; }

/* =========================================================
   Hero
   ========================================================= */
.hero-orbs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-orbs span { position: absolute; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--blue-rgb), 0.2), transparent 65%); animation: drift 16s ease-in-out infinite alternate; }
.hero-orbs span:nth-child(1) { top: -240px; right: -140px; }
.hero-orbs span:nth-child(2) { top: 18%; left: -300px; background: radial-gradient(circle, rgba(var(--orange-rgb), 0.13), transparent 65%); animation-duration: 21s; animation-delay: -7s; }
.hero-orbs span:nth-child(3) { top: 25%; left: 35%; width: 360px; height: 360px; background: radial-gradient(circle, rgba(var(--blue-rgb), 0.08), transparent 65%); animation-duration: 25s; animation-delay: -12s; }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-70px, 50px) scale(1.12); }
  100% { transform: translate(50px, -30px) scale(0.94); }
}
.hero::before { animation: grid-pan 14s linear infinite; }
@keyframes grid-pan { to { background-position: 56px 56px; } }

/* Load-in sequence */
.rise { animation: rise .85s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--d, 0) * 80ms + 120ms); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* Headline: words slide up out of a mask (JS wraps each word) */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.split .w > span { display: inline-block; animation: word-up .9s cubic-bezier(.2, .75, .2, 1) both; animation-delay: calc(var(--i) * 55ms + 150ms); }
@keyframes word-up { from { transform: translateY(110%); } }

/* Sparkline under the stats draws itself */
.spark { width: 100%; height: 44px; margin-top: 14px; overflow: visible; }
.spark-line { fill: none; stroke: var(--blue); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 100; stroke-dashoffset: 0; animation: draw-once 2.2s cubic-bezier(.4, 0, .2, 1) 1s both; }
.spark-area { animation: fade-in 1.2s ease 2.2s both; }
@keyframes draw-once { from { stroke-dashoffset: 100; } }
@keyframes fade-in { from { opacity: 0; } }

/* =========================================================
   Section headings
   ========================================================= */
.kicker { display: inline-flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; transform-origin: left; transition: transform .6s ease .25s; }
.js .reveal:not(.in) .kicker::before { transform: scaleX(0); }

/* =========================================================
   Problem cards: "Problem" flips to "Fixed"
   ========================================================= */
.status { display: inline-grid; height: 26px; overflow: hidden; margin-bottom: 16px; border-radius: 999px; }
.st { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 5px; padding: 0 11px; height: 26px; border-radius: 999px; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; transition: transform .5s cubic-bezier(.3, 1.3, .5, 1), opacity .3s ease; transition-delay: 1s; }
.st .ic { width: 13px; height: 13px; }
.st-bad { background: rgba(255, 122, 122, 0.14); color: var(--err); transform: translateY(-110%); opacity: 0; }
.st-ok { background: rgba(61, 216, 181, 0.14); color: var(--ok); }
.js .pain:not(.in) .st-bad { transform: none; opacity: 1; }
.js .pain:not(.in) .st-ok { transform: translateY(110%); opacity: 0; }

/* =========================================================
   Service illustrations
   ========================================================= */
.art {
  height: 104px; margin-bottom: 20px; padding: 4px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  border-radius: 12px; border: 1px solid var(--line);
  background: radial-gradient(120% 120% at 0% 0%, rgba(var(--blue-rgb), 0.08), transparent 60%), rgba(255, 255, 255, 0.015);
  transition: border-color .25s ease;
}
.svc:hover .art { border-color: rgba(var(--blue-rgb), 0.35); }
.art svg { width: 100%; height: 100%; overflow: visible; }
:where(.art svg *) { transform-box: fill-box; transform-origin: center; }
.art-bare { border: 0; background: none; height: 96px; margin-bottom: 6px; }

/* Each card runs its loop a little ahead of the next, so the illustrations
   reset one after another instead of all blinking at once. --off shifts every
   piece of a card together; --t keeps the pulses' own stagger. Two classes
   deep so it wins over the animation shorthands below. */
.svc .art *, .step .art * { animation-delay: calc(var(--off, 0s) + var(--t, 0s)); }
.services > :nth-child(1) { --off: -3s; }
.services > :nth-child(2) { --off: -2.4s; }
.services > :nth-child(3) { --off: -1.8s; }
.services > :nth-child(4) { --off: -1.2s; }
.services > :nth-child(5) { --off: -.6s; }
.step { --off: calc((var(--i) - 5) * .6s); }

/* Shared paint */
.k-dim { fill: none; stroke: var(--line-strong); stroke-width: 1.5; }
.k-blue, .k-orange, .k-text { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.k-blue { stroke: var(--blue); }
.k-orange { stroke: var(--orange); }
.k-text { stroke: var(--text); stroke-width: 2; }
.f-blue { fill: var(--blue); } .f-orange { fill: var(--orange); } .f-ok { fill: var(--ok); }
.f-text { fill: var(--text); } .f-dim { fill: rgba(148, 170, 205, 0.3); } .f-bg { fill: var(--surface); }
.o2 { fill-opacity: .2; } .o4 { fill-opacity: .4; } .o5 { fill-opacity: .5; } .o6 { fill-opacity: .6; }
.dashed { stroke-dasharray: 4 5; }
.lbl { fill: var(--muted); font: 600 10px var(--sans); }
.type { fill: var(--text); font: 700 46px var(--head); letter-spacing: -1px; }
.tagt { fill: var(--ok); font: 700 10px var(--sans); }
.node { fill: var(--surface); stroke: var(--blue); stroke-width: 2.5; }
.node-ok { stroke: var(--ok); }
.xs { stroke-width: 6; }

/* Shared "appear at N% of a 5s loop, vanish at 90%" timings, so every
   piece of one illustration resets together. --from sets how it enters. */
.ms, .sw, .blk, .bar, .tip, .tag { --from: scale(.3); --over: scale(1.15); animation: var(--ap, ap0) 5s ease-out infinite; }
.blk { --from: scaleX(0); --over: none; transform-origin: 0 50%; }
.bar { --from: scaleY(0); --over: none; transform-origin: 50% 100%; }
@keyframes ap0  { 0%       { opacity: 0; transform: var(--from); } 4%  { opacity: 1; transform: var(--over); } 7%, 88%  { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes ap4  { 0%, 4%   { opacity: 0; transform: var(--from); } 8%  { opacity: 1; transform: var(--over); } 11%, 88% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes ap8  { 0%, 8%   { opacity: 0; transform: var(--from); } 12% { opacity: 1; transform: var(--over); } 15%, 88% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes ap12 { 0%, 12%  { opacity: 0; transform: var(--from); } 16% { opacity: 1; transform: var(--over); } 19%, 88% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes ap16 { 0%, 16%  { opacity: 0; transform: var(--from); } 20% { opacity: 1; transform: var(--over); } 23%, 88% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes ap20 { 0%, 20%  { opacity: 0; transform: var(--from); } 24% { opacity: 1; transform: var(--over); } 27%, 88% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes ap22 { 0%, 22%  { opacity: 0; transform: var(--from); } 26% { opacity: 1; transform: var(--over); } 29%, 88% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes ap24 { 0%, 24%  { opacity: 0; transform: var(--from); } 28% { opacity: 1; transform: var(--over); } 31%, 88% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes ap44 { 0%, 44%  { opacity: 0; transform: var(--from); } 48% { opacity: 1; transform: var(--over); } 51%, 88% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes ap55 { 0%, 55%  { opacity: 0; transform: var(--from); } 59% { opacity: 1; transform: var(--over); } 62%, 88% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes ap60 { 0%, 60%  { opacity: 0; transform: var(--from); } 64% { opacity: 1; transform: var(--over); } 67%, 88% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }

/* 01 Strategy: the roadmap draws, milestones light up, flag at the goal */
.road { stroke-width: 3; stroke-dasharray: 100; stroke-dashoffset: 0; animation: road 5s linear infinite; }
@keyframes road { 0% { stroke-dashoffset: 100; opacity: 1; } 55%, 88% { stroke-dashoffset: 0; opacity: 1; } 94%, 100% { stroke-dashoffset: 0; opacity: 0; } }
.flag { transform-origin: 0% 100%; }

/* 02 Brand: type, palette and a content feed that keeps scrolling */
.caret { animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.uline { stroke-dasharray: 100; stroke-dashoffset: 0; animation: uline 5s ease-out infinite; }
@keyframes uline { 0%, 6% { stroke-dashoffset: 100; opacity: 1; } 26%, 88% { stroke-dashoffset: 0; opacity: 1; } 94%, 100% { stroke-dashoffset: 0; opacity: 0; } }
.feedroll { animation: feedroll 7s linear infinite; }
@keyframes feedroll { to { transform: translateY(-96px); } }

/* 03 Websites & CRM: the page builds, a lead flows into the CRM */
.lead-dot { animation: lead-dot 5s ease-in-out infinite; }
@keyframes lead-dot {
  0%, 32% { opacity: 0; transform: translate(0, 0) scale(.5); }
  36% { opacity: 1; transform: translate(0, 0) scale(1); }
  43% { transform: translate(35px, -9px); }
  49% { transform: translate(67px, -26px); }
  55% { opacity: 1; transform: translate(108px, -35px); }
  58%, 100% { opacity: 0; transform: translate(108px, -35px) scale(.6); }
}
.hit { fill-opacity: .55; animation: hit 5s ease infinite; }
@keyframes hit { 0%, 55% { fill-opacity: 0; } 59%, 88% { fill-opacity: .55; } 94%, 100% { fill-opacity: 0; } }
.hit-check { stroke-dasharray: 100; stroke-dashoffset: 0; animation: check 5s ease infinite; }
@keyframes check { 0%, 59% { stroke-dashoffset: 100; opacity: 1; } 66%, 88% { stroke-dashoffset: 0; opacity: 1; } 94%, 100% { stroke-dashoffset: 0; opacity: 0; } }

/* 04 Ads & analytics: bars grow, the trend climbs, ROAS goes up */
.trend { stroke-width: 3; stroke-dasharray: 100; stroke-dashoffset: 0; animation: trend 5s ease-in-out infinite; }
@keyframes trend { 0%, 26% { stroke-dashoffset: 100; opacity: 1; } 56%, 88% { stroke-dashoffset: 0; opacity: 1; } 94%, 100% { stroke-dashoffset: 0; opacity: 0; } }
.tip { --ap: ap55; }
.tag { --ap: ap60; transform-origin: 0% 50%; }
.ring { stroke-width: 1.5; opacity: 0; animation: ring 5s ease-out infinite; }
@keyframes ring { 0%, 58% { opacity: 0; transform: scale(1); } 62% { opacity: .9; } 82%, 100% { opacity: 0; transform: scale(2.8); } }

/* 05 Engineering: data pulses run through the model */
.pulse { stroke-width: 3.5; stroke-dasharray: 10 200; opacity: 0; animation: pulse 2.6s linear infinite; animation-delay: var(--t, 0s); }
@keyframes pulse { 0% { stroke-dashoffset: 10; opacity: 1; } 100% { stroke-dashoffset: -100; opacity: 1; } }
.ring-loop { stroke-width: 1.5; opacity: 0; animation: ring-loop 2.6s ease-out infinite; }
@keyframes ring-loop { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(2.2); } }

/* Bundle: five services orbit the X */
.orbit, .orbit-ring { transform-box: view-box; transform-origin: 120px 48px; }
.orbit { animation: spin-deg 18s linear infinite; }
.orbit-ring { animation: spin-deg 30s linear infinite reverse; }
@keyframes spin-deg { to { transform: rotate(360deg); } }
.beam { stroke-width: 1.5; opacity: .3; animation: beam 3s ease-in-out infinite; animation-delay: var(--t, 0s); }
@keyframes beam { 0%, 100% { opacity: .12; } 20% { opacity: 1; } }

/* =========================================================
   Process illustrations: one small scene per A.S.C.E.N.D. step,
   on the same 5s timeline as the service art
   ========================================================= */
.step .art { height: 76px; margin-bottom: 16px; }
.step:hover .art { border-color: rgba(var(--blue-rgb), 0.35); }
.k-bg { fill: none; stroke: var(--bg); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.drop, .bub { animation: var(--ap, ap0) 5s ease-out infinite; }
.drop { --from: translateY(-14px); --over: translateY(1.5px); }
.bub { --from: translateY(8px) scale(.7); --over: translateY(-1px); transform-origin: 0% 100%; }
.bub-r { transform-origin: 100% 100%; }

/* A Audit: the lens scans each line and flags what leaks */
.lens { fill: rgba(var(--blue-rgb), 0.14); }
.scan { transform: translate(2px, 31px); animation: scan 5s ease-in-out infinite; }
@keyframes scan {
  0%, 6% { opacity: 1; transform: translate(0, 0); }
  20%, 24% { transform: translate(4px, 11px); }
  40%, 44% { transform: translate(-2px, 21px); }
  53%, 88% { opacity: 1; transform: translate(2px, 31px); }
  94% { opacity: 0; transform: translate(2px, 31px); }
  100% { opacity: 0; transform: translate(0, 0); }
}

/* E Execute: flip the switch, power runs out to every system */
.sw-track { fill: var(--orange); animation: track 5s ease infinite; }
@keyframes track { 0%, 12% { fill: rgba(148, 170, 205, 0.3); } 20%, 88% { fill: var(--orange); } 96%, 100% { fill: rgba(148, 170, 205, 0.3); } }
.sw-knob { transform: translateX(16px); animation: knob 5s cubic-bezier(.5, 1.6, .5, 1) infinite; }
@keyframes knob { 0%, 12% { transform: none; } 20%, 88% { transform: translateX(16px); } 96%, 100% { transform: none; } }
.wire { stroke-width: 2.5; stroke-dasharray: 100; stroke-dashoffset: 0; animation: wire 5s ease-in-out infinite; }
@keyframes wire { 0%, 22% { stroke-dashoffset: 100; opacity: 1; } 52%, 88% { stroke-dashoffset: 0; opacity: 1; } 94%, 100% { stroke-dashoffset: 0; opacity: 0; } }

/* D Drive: the needle swings up and the gauge fills */
.gauge { stroke-width: 5; stroke-dasharray: 100; stroke-dashoffset: 22; animation: gauge 5s ease-in-out infinite; }
@keyframes gauge { 0%, 6% { stroke-dashoffset: 100; opacity: 1; } 50% { stroke-dashoffset: 16; } 58%, 88% { stroke-dashoffset: 22; opacity: 1; } 94%, 100% { stroke-dashoffset: 22; opacity: 0; } }
.needle { transform-box: view-box; transform-origin: 60px 56px; transform: rotate(50deg); animation: needle 5s ease-in-out infinite; }
@keyframes needle { 0%, 6% { transform: rotate(-88deg); } 50% { transform: rotate(61deg); } 58%, 88% { transform: rotate(50deg); } 96%, 100% { transform: rotate(-88deg); } }

/* =========================================================
   Process: letters pop in order, then the badges keep pulsing in
   sequence while the section is on screen
   ========================================================= */
.step-l { transition: transform .6s cubic-bezier(.3, 1.6, .5, 1), opacity .3s ease; transition-delay: calc(var(--i) * 160ms + 200ms); animation: badge 6s ease-in-out infinite; animation-delay: calc(var(--i) * 1s); }
.js .step:not(.in) .step-l { transform: scale(.4) rotate(-14deg); opacity: 0; }
@keyframes badge { 0%, 14%, 100% { box-shadow: 0 0 0 0 rgba(var(--orange-rgb), 0); } 6% { box-shadow: 0 0 0 7px rgba(var(--orange-rgb), 0.18); } }
.step:nth-child(even) .step-l { animation-name: badge-blue; }
@keyframes badge-blue { 0%, 14%, 100% { box-shadow: 0 0 0 0 rgba(var(--blue-rgb), 0); } 6% { box-shadow: 0 0 0 7px rgba(var(--blue-rgb), 0.2); } }

/* =========================================================
   Pricing: rotating glow around the most popular plan
   ========================================================= */
.plan-glow {
  position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--ang), transparent 0 55%, var(--orange) 72%, var(--blue) 86%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin-ang 6s linear infinite;
}
@keyframes spin-ang { to { --ang: 360deg; } }
.plan-badge { z-index: 2; }
.plan { transition: transform .25s ease, border-color .25s ease; }
.plan:hover { transform: translateY(-4px); }

/* =========================================================
   Small touches
   ========================================================= */
/* Cursor spotlight on cards (class added by JS on mouse devices) */
.spot { isolation: isolate; }
.spot:not(.step) { position: relative; }
.spot::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--blue-rgb), 0.13), transparent 60%);
  opacity: 0; transition: opacity .3s ease;
}
.spot:hover::before { opacity: 1; }

/* Light sweep across primary buttons; the hero button sweeps on its own now and then */
.btn-primary { overflow: hidden; isolation: isolate; }
.btn-primary:not(.mobile-cta) { position: relative; }
.btn-primary::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-20deg); transition: left .7s ease;
}
.btn-primary:hover::after { left: 130%; }
.hero-ctas .btn-primary::after { animation: sweep 5.5s ease-in-out 2.4s infinite; }
@keyframes sweep { 0%, 78% { left: -60%; } 100% { left: 130%; } }

/* Scroll progress along the bottom of the nav */
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, var(--orange), var(--blue)); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); pointer-events: none; }

/* FAQ answers ease open */
.faq[open] p { animation: faq-in .35s ease; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }

/* =========================================================
   Ambient background. One fixed layer behind the whole page carries the
   rising light streaks and two slow glows, so they flow through every
   section without being cut at its edges. Sections only add a faint dot
   field and the large X from the logo beside their heading.
   ========================================================= */
.flow { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }

/* Streaks: a faint track with a light running up it */
.flow i { position: absolute; top: 0; bottom: 0; width: 1px; overflow: hidden; background: rgba(148, 170, 205, 0.06); }
.flow i::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, transparent 0, rgba(var(--blue-rgb), 0.8) 10%, transparent 20%);
  transform: translateY(100%); animation: ascend 8s linear infinite;
}
.flow i:nth-child(1) { left: 3.5%; }
.flow i:nth-child(2) { left: 7.5%; }
.flow i:nth-child(3) { right: 4.5%; }
.flow i:nth-child(4) { right: 8.5%; }
.flow i:nth-child(1)::after { animation-delay: -2s; }
.flow i:nth-child(2)::after { animation-duration: 11s; animation-delay: -7s; background: linear-gradient(to top, transparent 0, rgba(var(--orange-rgb), 0.75) 10%, transparent 20%); }
.flow i:nth-child(3)::after { animation-duration: 9.5s; animation-delay: -4s; }
.flow i:nth-child(4)::after { animation-duration: 12.5s; animation-delay: -10s; background: linear-gradient(to top, transparent 0, rgba(var(--orange-rgb), 0.75) 10%, transparent 20%); }
@keyframes ascend { from { transform: translateY(100%); } to { transform: translateY(-100%); } }

/* Glows drifting across the viewport */
.flow b { position: absolute; border-radius: 50%; animation: drift 26s ease-in-out infinite alternate; }
.flow b:nth-of-type(1) { top: -20vh; right: -18vw; width: 60vw; height: 60vw; max-width: 820px; max-height: 820px; background: radial-gradient(circle, rgba(var(--blue-rgb), 0.09), transparent 65%); }
.flow b:nth-of-type(2) { bottom: -25vh; left: -20vw; width: 55vw; height: 55vw; max-width: 760px; max-height: 760px; background: radial-gradient(circle, rgba(var(--orange-rgb), 0.06), transparent 65%); animation-duration: 32s; animation-delay: -11s; }

/* Per-section accents */
.deco { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.deco ~ .wrap { position: relative; }
.deco::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(148, 170, 205, 0.22) 1px, transparent 1.6px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(420px 260px at 93% 45%, #000, transparent 72%);
  mask-image: radial-gradient(420px 260px at 93% 45%, #000, transparent 72%);
}
.deco-flip::before { -webkit-mask-image: radial-gradient(420px 260px at 7% 55%, #000, transparent 72%); mask-image: radial-gradient(420px 260px at 7% 55%, #000, transparent 72%); }

/* The X mark */
.deco b { position: absolute; top: 76px; right: max(28px, calc((100% - var(--max)) / 2 + 20px)); width: 150px; height: 150px; opacity: .09; animation: x-float 24s ease-in-out infinite; }
.deco b::before, .deco b::after { content: ""; position: absolute; left: 50%; top: 0; width: 24px; height: 100%; margin-left: -12px; border-radius: 7px; }
.deco b::before { background: linear-gradient(var(--blue), rgba(var(--blue-rgb), 0.2)); transform: rotate(45deg); }
.deco b::after { background: linear-gradient(var(--orange), rgba(var(--orange-rgb), 0.2)); transform: rotate(-45deg); }
@keyframes x-float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(22px) rotate(12deg); } }
/* FAQ: the X fills the empty column under the heading instead */
.deco-xl b { top: auto; bottom: 110px; right: auto; left: max(40px, calc((100% - var(--max)) / 2 + 60px)); width: 190px; height: 190px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px) {
  .flow i:nth-child(2), .flow i:nth-child(4), .deco b { display: none; }
  .flow i:nth-child(1) { left: 8px; }
  .flow i:nth-child(3) { right: 8px; }
  .deco::before { opacity: .6; }
}
@media (max-width: 640px) {
  .art { height: 88px; margin-bottom: 14px; }
  .art-bare { height: 84px; margin-bottom: 4px; }
  .step { grid-template-columns: 1fr 92px; }
  .step .art { grid-column: 2; grid-row: 1 / span 2; height: 54px; margin: 0; padding: 2px; }
  .step h3, .step p { grid-column: 1; }
  .flow i:nth-child(1) { left: 5px; }
  .flow i:nth-child(3) { right: 5px; }
}

/* =========================================================
   Reduced motion: no loops, finished artwork, instant reveals
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-orbs span, .hero::before, .art *, .spark-line, .spark-area, .step-l, .plan-glow,
  .rise, .split .w > span, .btn-primary::after, .faq[open] p,
  .flow i::after, .flow b, .deco b { animation: none !important; }
  .flow i::after { display: none; }
}
