/* =====================================================================
   IgnizAI — Home hero: rotating content card + animated analytics panel
   Five themes (Websites · Presence · AI · Leads · Revenue). Each tab swaps
   the left card copy and plays a matching infographic on the right.
   ===================================================================== */
.hx{
  --hx-bg:#0B1F17; --hx-bg2:#17362A; --hx-ink:#F4EEE2; --hx-mute:#B9B09C; --hx-dim:#7F8B80;
  --hx-gold:#E4C063; --hx-gold2:#C99A3A; --hx-mint:#6FD3A6; --hx-line:rgba(244,238,226,.10);
  --hx-card:rgba(255,255,255,.04);
  position:relative; overflow:hidden; color:var(--hx-ink);
  background:radial-gradient(120% 90% at 85% 10%, #1D4434 0%, transparent 55%), linear-gradient(160deg,var(--hx-bg) 0%,var(--hx-bg2) 100%);
  min-height:100vh; min-height:100svh; display:flex; align-items:center;
  padding:clamp(110px,14vh,150px) 0 clamp(60px,9vh,96px);
}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.hx__bg{position:absolute;inset:0;pointer-events:none}
.hx__glow{position:absolute;border-radius:50%;filter:blur(80px);opacity:.45}
.hx__glow--a{width:520px;height:520px;right:-120px;top:-140px;background:radial-gradient(circle,rgba(228,192,99,.35),transparent 65%);animation:hxFloat 14s ease-in-out infinite}
.hx__glow--b{width:440px;height:440px;left:-160px;bottom:-180px;background:radial-gradient(circle,rgba(111,211,166,.22),transparent 65%);animation:hxFloat 18s ease-in-out infinite reverse}
@keyframes hxFloat{50%{transform:translate(-30px,30px) scale(1.08)}}

.hx__inner{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);gap:clamp(32px,5vw,80px);align-items:center;width:100%}

/* ---------- LEFT CARD ---------- */
.hx__card{position:relative;display:flex;flex-direction:column;min-width:0}
.hx .eyebrow.hx__eyebrow{color:var(--hx-gold);margin-bottom:26px}
.hx__title{font-family:var(--font-display,inherit);font-size:clamp(34px,4.3vw,62px);line-height:1.04;letter-spacing:-.02em;font-weight:500;color:var(--hx-ink);margin:0 0 20px;max-width:15ch}
.hx__title .gold-text{background:linear-gradient(100deg,#F3D98A,#E4C063 45%,#C99A3A);-webkit-background-clip:text;background-clip:text;color:transparent}
.hx__lead{font-size:clamp(16px,1.25vw,19px);line-height:1.6;color:var(--hx-mute);max-width:46ch;margin:0 0 22px}

.hx__actions{display:flex;flex-wrap:wrap;gap:14px;align-items:center;margin-top:34px}


/* ---------- RIGHT PANEL ---------- */
.hx__viz{position:relative;min-width:0}
.hx__panel{position:relative;border-radius:22px;padding:18px 18px 22px;
  background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.025));
  border:1px solid rgba(244,238,226,.12);
  box-shadow:0 40px 80px -30px rgba(0,0,0,.55),inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.hx__panel::before{content:"";position:absolute;inset:-1px;border-radius:inherit;padding:1px;pointer-events:none;
  background:linear-gradient(140deg,rgba(228,192,99,.45),transparent 35%,transparent 70%,rgba(111,211,166,.3));
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude}
.hx__panel-head{display:flex;align-items:center;gap:12px;padding:2px 4px 14px;border-bottom:1px solid var(--hx-line);margin-bottom:16px}
.hx__dots{display:flex;gap:6px}.hx__dots i{width:9px;height:9px;border-radius:50%;background:rgba(244,238,226,.18)}
.hx__dots i:first-child{background:#E4C063}
.hx__panel-title{font-size:13px;color:var(--hx-mute);letter-spacing:.02em}
.hx__panel-tag{margin-left:auto;font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--hx-dim);border:1px solid var(--hx-line);border-radius:999px;padding:4px 9px}

.hx__stage{position:relative}
.hx__scene{position:relative;aspect-ratio:16/10.6;display:none}
.hx__scene.is-active{display:block;animation:hxIn .5s var(--ease,ease) both}
@keyframes hxIn{from{opacity:0;transform:translateY(10px) scale(.985)}to{opacity:1;transform:none}}
.hx__scene > *{position:absolute;inset:0}

/* shared bits */
.hx b,.hx i[data-count]{font-variant-numeric:tabular-nums}
.chip{position:absolute;display:inline-flex;align-items:center;gap:8px;font-size:12.5px;color:var(--hx-ink);padding:8px 12px;border-radius:12px;background:rgba(15,37,28,.92);border:1px solid rgba(244,238,226,.14);box-shadow:0 14px 30px -12px rgba(0,0,0,.5);opacity:0;transform:translateY(10px)}
.chip em{font-style:normal;width:20px;height:20px;border-radius:6px;display:grid;place-items:center;background:rgba(111,211,166,.16);color:var(--hx-mint);font-size:11px}
.chip b{color:var(--hx-gold);font-weight:600}
.is-active .chip{animation:hxPop .55s cubic-bezier(.2,.9,.3,1.3) forwards}
@keyframes hxPop{to{opacity:1;transform:none}}
.kpi span{display:block;font-size:11.5px;color:var(--hx-mute);letter-spacing:.04em;margin-bottom:4px}
.kpi b{font-size:clamp(22px,2.2vw,30px);font-weight:600;color:var(--hx-ink);letter-spacing:-.01em}
.kpi b i{font-style:normal}
.kpi small{color:var(--hx-dim);font-size:13px;margin-left:2px}

/* ===== Scene 0 · Website build ===== */
.sc-web__browser{position:absolute;left:0;top:4%;width:70%;height:90%;border-radius:14px;background:#F4EEE2;overflow:hidden;box-shadow:0 30px 60px -25px rgba(0,0,0,.6)}
.sc-web__url{height:30px;display:flex;align-items:center;gap:8px;padding:0 12px;background:#E8E0D0;font-size:11px;color:#6b6457}
.sc-web__url i{width:8px;height:8px;border-radius:50%;background:#6FD3A6;box-shadow:0 0 0 3px rgba(111,211,166,.25)}
.sc-web__url span{background:#fff;border-radius:6px;padding:3px 10px;flex:1;max-width:160px}
.sc-web__page{padding:12px;display:flex;flex-direction:column;gap:9px;height:calc(100% - 30px)}
.sc-web .b{border-radius:7px;opacity:0;transform:translateY(12px)}
.is-active .sc-web .b{animation:hxPop .5s var(--ease,ease) forwards}
.b-nav{height:14px;display:flex;gap:8px;justify-content:flex-end;align-items:center;background:transparent!important}
.b-nav span{width:26px;height:6px;border-radius:3px;background:#CFC5B2}.b-nav span:first-child{margin-right:auto;width:44px;background:#17362A}
.b-hero{flex:0 0 32%;background:#17362A;padding:12px;display:flex;flex-direction:column;gap:6px;justify-content:center}
.b-hero .l1{width:62%;height:9px;border-radius:4px;background:#F4EEE2}
.b-hero .l2{width:40%;height:7px;border-radius:4px;background:rgba(244,238,226,.5)}
.b-hero .btn-s{width:56px;height:14px;border-radius:7px;background:#E4C063;margin-top:4px}
.b-img{flex:1;background:linear-gradient(120deg,#E4C063 0%,#C99A3A 40%,#6FD3A6 120%);opacity:.9}
.b-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;flex:0 0 18%}
.b-c{background:#E8E0D0}
.is-active .sc-web .b-nav{animation-delay:.1s}.is-active .sc-web .b-hero{animation-delay:.35s}.is-active .sc-web .b-img{animation-delay:.6s}
.is-active .sc-web .b-c:nth-child(1){animation-delay:.85s}.is-active .sc-web .b-c:nth-child(2){animation-delay:.95s}.is-active .sc-web .b-c:nth-child(3){animation-delay:1.05s}
.sc-web__score{position:absolute;right:2%;top:6%;width:30%;aspect-ratio:1;display:grid;place-items:center;text-align:center}
.sc-web__score svg{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg)}
.ring-bg{fill:none;stroke:rgba(244,238,226,.10);stroke-width:9}
.ring{fill:none;stroke:var(--hx-mint);stroke-width:9;stroke-linecap:round;stroke-dasharray:100;stroke-dashoffset:100}
.is-active .ring{animation:hxRing 1.6s .4s var(--ease,ease) forwards}
@keyframes hxRing{to{stroke-dashoffset:2}}
.sc-web__score b{font-size:clamp(26px,2.6vw,38px);font-weight:600;line-height:1;margin-top:-8px}
.sc-web__score span{position:absolute;bottom:26%;font-size:10.5px;color:var(--hx-mute);letter-spacing:.08em;text-transform:uppercase}
.chip--1{right:4%;top:52%}.chip--2{right:10%;top:67%}.chip--3{right:1%;top:82%}
.is-active .chip--1{animation-delay:1.2s}.is-active .chip--2{animation-delay:1.45s}.is-active .chip--3{animation-delay:1.7s}

/* ===== Scene 1 · Digital presence ===== */
.sc-pres{display:flex;flex-direction:column;gap:18px;padding:4px 6px}
.sc-pres__top{position:relative!important;inset:auto!important;display:flex;align-items:flex-end;gap:20px;justify-content:space-between}
.spark{width:52%;height:58px;overflow:visible}
.spark__line{fill:none;stroke:var(--hx-gold);stroke-width:2.5;stroke-linecap:round;stroke-dasharray:100;stroke-dashoffset:100;filter:drop-shadow(0 4px 10px rgba(228,192,99,.4))}
.is-active .spark__line{animation:hxDraw 1.6s .3s var(--ease,ease) forwards}
@keyframes hxDraw{to{stroke-dashoffset:0}}
.sc-pres__bars{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px}
.sc-pres__bars li{display:grid;grid-template-columns:110px 1fr 36px;align-items:center;gap:14px;font-size:13px}
.sc-pres__bars .lbl{color:var(--hx-mute)}
.sc-pres__bars b{text-align:right;color:var(--hx-ink);font-weight:600}
.bar{height:10px;border-radius:6px;background:rgba(244,238,226,.08);overflow:hidden}
.bar i{display:block;height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#2E6B52,var(--hx-mint))}
.sc-pres__bars li:nth-child(odd) .bar i{background:linear-gradient(90deg,var(--hx-gold2),var(--hx-gold))}
.is-active .bar i{animation:hxBar 1.2s var(--ease,ease) forwards}
.is-active .sc-pres__bars li:nth-child(2) .bar i{animation-delay:.15s}.is-active .sc-pres__bars li:nth-child(3) .bar i{animation-delay:.3s}.is-active .sc-pres__bars li:nth-child(4) .bar i{animation-delay:.45s}
@keyframes hxBar{to{width:var(--w)}}
.sc-pres__pin{position:relative!important;inset:auto!important;display:flex;align-items:center;gap:12px;margin-top:4px;padding:12px 14px;border-radius:14px;border:1px solid var(--hx-line);background:rgba(255,255,255,.03);opacity:0}
.is-active .sc-pres__pin{animation:hxPop .5s 1.2s forwards}
.pin{width:14px;height:14px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);background:var(--hx-gold);flex:none;position:relative;z-index:1}
.pulse{position:absolute;left:14px;width:14px;height:14px;border-radius:50%;background:rgba(228,192,99,.5);animation:hxPulse 1.8s ease-out infinite}
@keyframes hxPulse{from{transform:scale(1);opacity:.7}to{transform:scale(3.2);opacity:0}}
.sc-pres__pin em{font-style:normal;font-size:13px;color:var(--hx-ink)}

/* ===== Scene 2 · AI automation ===== */
.sc-ai__wires{width:100%;height:100%}
.w{fill:none;stroke:rgba(244,238,226,.14);stroke-width:2}
.w--flow{stroke:var(--hx-gold);stroke-width:2.5;stroke-linecap:round;stroke-dasharray:14 86;stroke-dashoffset:100;opacity:0}
.is-active .w--flow{animation:hxFlow 2.4s .6s linear infinite}
.is-active .w--flow.f2,.is-active .w--flow.f3,.is-active .w--flow.f4{stroke:var(--hx-mint);animation-delay:1.2s}
.is-active .w--flow.f3{animation-delay:1.4s}.is-active .w--flow.f4{animation-delay:1.6s}
@keyframes hxFlow{0%{stroke-dashoffset:100;opacity:1}100%{stroke-dashoffset:0;opacity:1}}
.sc-ai .node{position:absolute;inset:auto;display:flex;flex-direction:column;gap:3px;font-size:12.5px;color:var(--hx-ink);padding:12px 14px;border-radius:14px;background:rgba(15,37,28,.92);border:1px solid rgba(244,238,226,.14);transform:translate(-50%,-50%) scale(.9);opacity:0}
.is-active .sc-ai .node{animation:hxNode .5s cubic-bezier(.2,.9,.3,1.3) forwards}
@keyframes hxNode{to{opacity:1;transform:translate(-50%,-50%) scale(1)}}
.sc-ai .node em{font-style:normal;font-size:14px}
.sc-ai .node small{font-size:10.5px;color:var(--hx-mute)}
.sc-ai .node--in{left:12%;top:50%;min-width:130px}
.sc-ai .node--ai{left:50%;top:50%;align-items:center;padding:14px!important;border-radius:50%!important;width:88px;height:88px;justify-content:center;background:radial-gradient(circle at 35% 30%,#2E6B52,#0F251C)!important;border-color:rgba(228,192,99,.5)!important;box-shadow:0 0 0 8px rgba(228,192,99,.06),0 0 40px rgba(228,192,99,.25)}
.node--ai .core{font-weight:700;font-size:20px;letter-spacing:.04em;color:var(--hx-gold)}
.is-active .node--ai{animation-delay:.3s!important}
.node--ai::after{content:"";position:absolute;inset:-10px;border-radius:50%;border:1px dashed rgba(228,192,99,.45);animation:hxSpin 12s linear infinite}
@keyframes hxSpin{to{transform:rotate(360deg)}}
.sc-ai .node--out{white-space:nowrap;flex-direction:row;align-items:center;gap:8px;left:86%;min-width:124px}
.node--out em{width:22px;height:22px;border-radius:7px;display:grid;place-items:center;background:rgba(111,211,166,.16);color:var(--hx-mint);font-size:12px!important}
.sc-ai .node--out.o1{top:23.3%}.sc-ai .node--out.o2{top:50%}.sc-ai .node--out.o3{top:76.7%}
.is-active .node--out.o1{animation-delay:1.3s!important}.is-active .node--out.o2{animation-delay:1.5s!important}.is-active .node--out.o3{animation-delay:1.7s!important}
.sc-ai__stat{position:absolute!important;inset:auto 0 0 auto!important;font-size:12px;color:var(--hx-mute);padding:8px 12px;border-radius:10px;border:1px solid var(--hx-line);background:rgba(255,255,255,.03)}
.sc-ai__stat b{color:var(--hx-gold);font-size:15px;margin-left:6px}

/* ===== Scene 3 · Lead funnel ===== */
.sc-lead{display:grid;grid-template-columns:1.25fr .9fr;gap:18px;align-items:center}
.funnel{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:9px;align-items:center}
.funnel li{width:var(--w);min-width:150px;height:52px;display:flex;justify-content:space-between;align-items:center;padding:0 16px;border-radius:12px;font-size:12.5px;color:var(--hx-ink);
  background:linear-gradient(90deg,rgba(228,192,99,.22),rgba(228,192,99,.08));border:1px solid rgba(228,192,99,.25);transform:scaleX(.2);opacity:0}
.funnel li:nth-child(3){background:linear-gradient(90deg,rgba(111,211,166,.22),rgba(111,211,166,.08));border-color:rgba(111,211,166,.3)}
.funnel li:nth-child(4){background:linear-gradient(90deg,#6FD3A6,#4FB98A);border-color:transparent;color:#0B1F17}
.funnel li:nth-child(4) b{color:#0B1F17}
.funnel b{font-weight:600;font-size:15px}
.funnel span{white-space:nowrap}
.is-active .funnel li{animation:hxFunnel .6s var(--ease,ease) forwards}
.is-active .funnel li:nth-child(2){animation-delay:.18s}.is-active .funnel li:nth-child(3){animation-delay:.36s}.is-active .funnel li:nth-child(4){animation-delay:.54s}
@keyframes hxFunnel{to{transform:none;opacity:1}}
.toasts{position:relative!important;inset:auto!important;display:flex;flex-direction:column;gap:10px}
.toast{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--hx-mute);padding:11px 12px;border-radius:12px;background:rgba(15,37,28,.92);border:1px solid rgba(244,238,226,.14);opacity:0;transform:translateX(20px)}
.toast b{color:var(--hx-ink);font-weight:600}
.toast i{width:8px;height:8px;border-radius:50%;background:var(--hx-mint);flex:none;box-shadow:0 0 0 4px rgba(111,211,166,.16)}
.is-active .toast{animation:hxToast .5s cubic-bezier(.2,.9,.3,1.2) forwards}
.is-active .toast.t1{animation-delay:1s}.is-active .toast.t2{animation-delay:1.8s}.is-active .toast.t3{animation-delay:2.6s}
@keyframes hxToast{to{opacity:1;transform:none}}

/* ===== Scene 4 · Revenue ===== */
.sc-rev{display:flex;flex-direction:column;gap:14px}
.sc-rev .kpis{position:relative!important;inset:auto!important;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.sc-rev .kpi{padding:12px 14px;border-radius:14px;border:1px solid var(--hx-line);background:rgba(255,255,255,.03);opacity:0;transform:translateY(10px)}
.is-active .sc-rev .kpi{animation:hxPop .5s var(--ease,ease) forwards}
.is-active .sc-rev .kpi:nth-child(2){animation-delay:.12s}.is-active .sc-rev .kpi:nth-child(3){animation-delay:.24s}
.sc-rev .kpi:first-child b{color:var(--hx-mint)}
.chart{position:relative!important;inset:auto!important;width:100%;flex:1;min-height:0;overflow:visible}
.chart .grid line{stroke:rgba(244,238,226,.08);stroke-dasharray:3 5}
.chart .line{fill:none;stroke:var(--hx-gold);stroke-width:3;stroke-linejoin:round;stroke-linecap:round;stroke-dasharray:100;stroke-dashoffset:100}
.chart .area{opacity:0}
.chart .dot{fill:var(--hx-gold);stroke:#0B1F17;stroke-width:3;opacity:0}
.is-active .chart .line{animation:hxDraw 1.8s .3s var(--ease,ease) forwards}
.is-active .chart .area{animation:hxFade 1s 1.2s forwards}
.is-active .chart .dot{animation:hxFade .3s 2s forwards}
@keyframes hxFade{to{opacity:1}}
.months{position:relative!important;inset:auto!important;display:flex;justify-content:space-between;font-size:10.5px;color:var(--hx-dim);letter-spacing:.06em}

/* is-lit (preloader) entrance */
.hx .hx__card,.hx .hx__viz{opacity:0;transform:translateY(18px);transition:opacity .9s var(--ease,ease),transform 1s var(--ease,ease)}
.hx .hx__viz{transition-delay:.15s}
.hx.is-lit .hx__card,.hx.is-lit .hx__viz{opacity:1;transform:none}


/* ===== Light hero canvas (site ivory) — dashboard panel stays forest green ===== */
.hx{
  --hx-ink:#1A1712; --hx-mute:#4A443B; --hx-dim:#8A8172; --hx-gold:#B08528; --hx-gold2:#C99A3A;
  --hx-mint:#2E7D5B; --hx-line:#DED4C4; --hx-card:rgba(255,255,255,.65);
  background:radial-gradient(70% 60% at 88% 18%, rgba(201,154,58,.14) 0%, transparent 60%),
             radial-gradient(60% 60% at 6% 96%, rgba(46,125,91,.08) 0%, transparent 60%), #F7F3EC;
}
.hx__glow{opacity:.35}
.hx__title .gold-text{background:linear-gradient(100deg,#C99A3A,#B08528 50%,#8E6A1E);-webkit-background-clip:text;background-clip:text;color:transparent}
.hx__panel{
  --hx-ink:#F4EEE2; --hx-mute:#B9B09C; --hx-dim:#7F8B80; --hx-gold:#E4C063; --hx-gold2:#C99A3A;
  --hx-mint:#6FD3A6; --hx-line:rgba(244,238,226,.10); --hx-card:rgba(255,255,255,.04);
  color:var(--hx-ink);
  background:radial-gradient(120% 90% at 85% 10%, #1D4434 0%, transparent 55%), linear-gradient(160deg,#0B1F17 0%,#17362A 100%);
  border-color:rgba(23,54,42,.6);
  box-shadow:0 40px 80px -30px rgba(15,37,28,.45),0 10px 30px -15px rgba(15,37,28,.3),inset 0 1px 0 rgba(255,255,255,.06);
}


/* ===== v3 · Growth engine layout ===== */
.hx__title{max-width:20ch;font-size:clamp(26px,2.35vw,34px);line-height:1.15;margin-bottom:14px}
[dir="rtl"] .hx__cap{direction:rtl}
.hx__lead{max-width:44ch;margin-bottom:0}
.hx__actions{margin-top:34px;gap:22px}
.hx__wa{display:inline-flex;align-items:center;gap:10px;font-weight:600;font-size:.94rem;color:var(--hx-ink);transition:color .25s}
.hx__wa-ic{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:rgba(46,125,91,.1);color:#1F7A4E;transition:background .25s,color .25s}
.hx__wa-ic svg{width:18px;height:18px}
.hx__wa:hover{color:#1F7A4E}.hx__wa:hover .hx__wa-ic{background:#25A162;color:#fff}
.hx__proof{list-style:none;margin:40px 0 0;padding:22px 0 0;border-top:1px solid var(--hx-line);display:grid;grid-template-columns:repeat(3,auto);gap:12px 34px;justify-content:start}
.hx__proof li{display:flex;flex-direction:column;gap:3px}
.hx__proof b{font-size:15px;font-weight:600;color:var(--hx-ink)}
.hx__proof span{font-size:13px;color:var(--hx-dim)}

/* panel head + pause */
.hx__panel-head{margin-bottom:0}
.hx__panel-tag{margin-left:auto}
.hx__pause{appearance:none;border:1px solid var(--hx-line);background:transparent;color:var(--hx-mute);width:30px;height:30px;border-radius:50%;display:grid;place-items:center;cursor:pointer;transition:color .2s,border-color .2s}
.hx__pause:hover,.hx__pause:focus-visible{color:var(--hx-gold);border-color:rgba(228,192,99,.5);outline:none}
.hx__pause svg{width:13px;height:13px}
.hx__pause .i-play{display:none}
.hx--paused .hx__pause .i-play{display:block}.hx--paused .hx__pause .i-pause{display:none}

/* stage rail */
.hx__rail{position:relative;display:grid;grid-template-columns:repeat(5,1fr);padding:18px 0 16px;margin-bottom:6px;border-bottom:1px solid var(--hx-line)}
.hx__rail-line{position:absolute;left:10%;right:10%;top:37px;height:2px;background:rgba(244,238,226,.12);border-radius:2px}
.hx__rail-fill{position:absolute;inset:0;background:linear-gradient(90deg,var(--hx-gold2),var(--hx-gold));transform:scaleX(0);transform-origin:left;border-radius:inherit;box-shadow:0 0 12px rgba(228,192,99,.45)}
.hx__step{appearance:none;background:none;border:0;padding:0;font:inherit;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:8px;color:var(--hx-dim);position:relative;z-index:1}
.hx__step-dot{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:#11291F;border:1.5px solid rgba(244,238,226,.16);color:var(--hx-mute);transition:all .35s var(--ease,ease)}
.hx__step-dot svg{width:18px;height:18px}
.hx__step-l{font-size:12.5px;font-weight:500;letter-spacing:.01em;transition:color .3s}
.hx__step:hover .hx__step-dot{border-color:rgba(228,192,99,.5);color:var(--hx-ink)}
.hx__step:focus-visible{outline:none}.hx__step:focus-visible .hx__step-dot{outline:2px solid var(--hx-gold);outline-offset:3px}
.hx__step.is-done .hx__step-dot{background:rgba(228,192,99,.14);border-color:rgba(228,192,99,.55);color:var(--hx-gold)}
.hx__step.is-done .hx__step-l{color:var(--hx-mute)}
.hx__step.is-active .hx__step-dot{background:linear-gradient(140deg,#F3D98A,#C99A3A);border-color:transparent;color:#0F251C;box-shadow:0 0 0 6px rgba(228,192,99,.14),0 8px 22px -6px rgba(228,192,99,.6);transform:scale(1.08)}
.hx__step.is-active .hx__step-l{color:var(--hx-ink)}

.hx__stage{padding-top:14px}
.hx__scene{aspect-ratio:16/9.4}

/* caption */
.hx__cap{display:grid;margin-top:16px;padding-top:14px;border-top:1px solid var(--hx-line)}
.hx__cap-item{grid-area:1/1;margin:0;display:flex;gap:12px;align-items:baseline;font-size:14px;line-height:1.5;color:var(--hx-mute);opacity:0;transform:translateY(6px);transition:opacity .45s,transform .5s var(--ease,ease)}
.hx__cap-item.is-active{opacity:1;transform:none}
.hx__cap-item b{flex:none;color:var(--hx-gold);font-weight:600;font-size:12px;letter-spacing:.08em;text-transform:uppercase}

/* legibility bumps inside the panel */
.hx__panel-title{font-size:13.5px}
.months{font-size:12px}
.sc-ai .node small{font-size:11.5px}
.sc-web__score span{font-size:11px}
.kpi span{font-size:12.5px}
.chip em svg,.sc-ai .node em svg{width:13px;height:13px}
.sc-ai .node--in em{width:26px;height:26px;border-radius:8px;display:grid;place-items:center;background:rgba(228,192,99,.14);color:var(--hx-gold);margin-bottom:4px}
.sc-ai .node--in em svg{width:15px;height:15px}

/* ---------- Responsive ---------- */
@media (max-width:1080px){
  .hx__inner{grid-template-columns:1fr;gap:44px}
  .hx__title{max-width:18ch}
  .hx__viz{max-width:680px}
}
@media (max-width:600px){
  .hx{padding-top:104px;min-height:auto}
  .hx__title{font-size:clamp(30px,8.4vw,40px)}
  .hx__panel{padding:14px 12px 16px;border-radius:18px}
  .hx__scene{aspect-ratio:auto;height:300px}
  .sc-pres__bars li{grid-template-columns:92px 1fr 30px;gap:10px;font-size:12px}
  .sc-lead{grid-template-columns:1fr}
  .funnel li{height:42px}
  .toasts{flex-direction:row;flex-wrap:wrap;display:none!important}
  .sc-ai .node--in{left:15%;min-width:0;padding:10px}
  .sc-ai .node--in small{display:none}
  .sc-ai .node--ai{width:66px;height:66px}
  .sc-ai .node--out{left:81%;min-width:0;padding:8px 10px;font-size:11px}
  .chip{font-size:11px;padding:6px 9px}
  .sc-web__browser{width:66%}
  .sc-web__score{width:32%}
  .sc-web__score span{font-size:7.5px;letter-spacing:.04em;bottom:24%}
  .sc-web__score b{font-size:22px}
}


@media (max-width:1080px){ .hx__title{max-width:20ch} }
@media (max-width:600px){
  .hx__title{font-size:clamp(30px,8.2vw,40px)}
  .hx__actions{gap:16px}
  .hx__proof{grid-template-columns:1fr 1fr;gap:14px 20px;margin-top:30px}
  .hx__proof li:last-child{grid-column:1/-1}
  .hx__rail{padding:14px 0 12px}
  .hx__rail-line{top:31px}
  .hx__step-dot{width:34px;height:34px}.hx__step-dot svg{width:15px;height:15px}
  .hx__step-l{font-size:11px}
  .hx__scene{aspect-ratio:auto;height:280px}
  .hx__cap-item{flex-direction:column;gap:4px;font-size:13px}
  .hx__panel-tag{display:none}
  .hx__pause{margin-left:auto}
}

/* RTL */
[dir="rtl"] .hx__panel{direction:ltr}

@media (prefers-reduced-motion:reduce){
  .hx *,.hx *::before,.hx *::after{animation-duration:.01ms!important;animation-delay:0s!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}

/* ===== v4 · left copy slides with the stages; compact sizes ===== */
.hx__slides{position:relative;display:grid}
.hx__slide{grid-area:1/1;display:flex;flex-direction:column;align-items:flex-start;visibility:hidden}
.hx__slide.is-active{visibility:visible}
.hx__slide > *{opacity:0;transform:translateY(12px);transition:opacity .5s var(--ease,ease),transform .6s var(--ease,ease)}
.hx__slide.is-active > *{opacity:1;transform:none}
.hx__slide.is-active > :nth-child(2){transition-delay:.07s}
.hx__slide.is-active > :nth-child(3){transition-delay:.14s}
.hx__kicker{display:inline-flex;align-items:center;gap:10px;font-size:11.5px;letter-spacing:.16em;text-transform:uppercase;color:#2E7D5B;font-weight:600;margin-bottom:12px}
.hx__kicker i{font-style:normal;color:var(--hx-gold);letter-spacing:.08em}
.hx .eyebrow.hx__eyebrow{margin-bottom:20px;font-size:11px}
.hx__lead{font-size:15px;line-height:1.6;max-width:42ch}
.hx__actions{margin-top:26px}
.hx__actions .btn{padding-top:13px;padding-bottom:13px;font-size:.88rem}
.hx__wa{font-size:.88rem}.hx__wa-ic{width:30px;height:30px}.hx__wa-ic svg{width:16px;height:16px}
.hx__proof{margin-top:30px;padding-top:18px;gap:10px 28px}
.hx__proof b{font-size:13.5px}.hx__proof span{font-size:12px}
/* shorter dashboard */
.hx__panel{padding:14px 16px 16px}
.hx__panel-head{padding-bottom:10px}
.hx__rail{padding:12px 0 10px;margin-bottom:0}
.hx__rail-line{top:29px}
.hx__step-dot{width:34px;height:34px}.hx__step-dot svg{width:16px;height:16px}
.hx__step{gap:6px}.hx__step-l{font-size:12px}
.hx__stage{padding-top:10px}
.hx__scene{aspect-ratio:16/7.8}
.sc-pres{gap:12px}.sc-pres__bars{gap:10px}.sc-pres__pin{padding:9px 12px;margin-top:0}
.spark{height:44px}
.funnel{gap:7px}.funnel li{height:44px}
.toast{padding:9px 12px}
.sc-rev{gap:10px}.sc-rev .kpi{padding:9px 12px}
.sc-ai .node{padding:9px 12px}
.hx__cap{margin-top:10px;padding-top:10px}
.hx__cap-item{font-size:13px}
@media (max-width:600px){
  .hx__title{font-size:clamp(24px,6.6vw,28px)}
  .hx__lead{font-size:14.5px}
  .hx__scene{height:250px}
}
/* left copy now explains each stage, so the dashboard caption is dropped to keep the card short */
.hx__cap{display:none}
.sc-ai__stat{inset:auto auto 0 0!important}
@media (max-width:600px){ .hx__scene{aspect-ratio:auto;height:250px} }
