/* ==========================================================================
   fx — the v5 shell and home page.
   White canvas, Midnight ink, soft grey panels, pill controls, one orange
   "ignition" accent while headlines type in. Dark mode swaps the canvas to
   Midnight. Structure and interaction follow the client's reference; colours,
   type, icons and illustrations are Engaz's own.
   ========================================================================== */
:root {
  --fx-bg: #00024c; --fx-ink: #fff; --fx-dim: rgba(255, 255, 255, .46); --fx-ink-2: rgba(255, 255, 255, .74);
  --fx-panel: #080c66; --fx-menu: #10167c; --fx-line: rgba(255, 255, 255, .17); --fx-dot: rgba(255, 255, 255, .15);
  --fx-pill: #fff; --fx-on-pill: #00024c; --fx-a1: #ff8a1f; --fx-a2: #ffb26b;
  --g: clamp(16px, 1.9vw, 27px); --col: 26.4%;
}
:root[data-theme="light"] {
  --fx-bg: #fff; --fx-ink: #00024c; --fx-dim: rgba(0, 2, 76, .46); --fx-ink-2: rgba(0, 2, 76, .72);
  --fx-panel: #f4f6fa; --fx-menu: #e6eaf2; --fx-line: rgba(0, 2, 76, .14); --fx-dot: rgba(0, 2, 76, .13);
  --fx-pill: #00024c; --fx-on-pill: #fff; --fx-a1: #fd7701; --fx-a2: #ff5a1f;
}
body.fx { background: var(--fx-bg); color: var(--fx-ink); }
html[lang="ar"] .fx { --fx-lh: 1.24; --fx-track: 0; }
html[lang="en"] .fx { --fx-lh: 1; --fx-track: -.03em; }
.fx main > .phero:first-child { padding-block-start: calc(var(--header-h) + clamp(40px, 6vw, 88px)); }

/* ---------- Buttons ---------- */
.fxbtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-block-size: 40px; padding: 0 20px; border-radius: 999px; background: var(--fx-ink); color: var(--fx-bg); font-size: .94rem; line-height: 1.2; white-space: nowrap; transition: transform .35s var(--ease), opacity .2s; }
.fxbtn:hover { transform: scale(1.04); }
.fxbtn--white { background: #fff; color: #00024c; }
.fxbtn--block { inline-size: 100%; min-block-size: 46px; margin-block-start: 16px; }

/* ---------- Header: logo, control pill, call to action ---------- */
.fxtop { position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 60; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: clamp(12px, 1.7vw, 26px) var(--g); pointer-events: none; --tk: var(--fx-ink); --pb: var(--fx-pill); --po: var(--fx-on-pill); color: var(--tk); transition: color .3s; }
.fxtop > * { pointer-events: auto; }
.fxtop[data-tone="dark"] { --tk: #fff; --pb: #fff; --po: #00024c; }
.fxtop[data-tone="light"] { --tk: #00024c; --pb: #00024c; --po: #fff; }
/* Inner pages were laid out under a solid bar, so the bar gets a backdrop once it is over light content. */
.fx:not(.page-home) .fxtop::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--fx-bg); border-block-end: 1px solid var(--fx-line); opacity: 0; transition: opacity .25s; pointer-events: none; }
.fx:not(.page-home) .fxtop.is-scrolled:not([data-tone="dark"])::before { opacity: 1; }
.fxtop__logo { justify-self: start; display: block; }
.fxtop__logo svg { display: block; block-size: clamp(20px, 1.9vw, 28px); inline-size: auto; }
.fxtop__pill { display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px; background: var(--pb); color: var(--po); transition: background-color .3s, color .3s; }
.fxtop__menu { display: inline-flex; align-items: center; gap: 10px; padding-block: 5px; padding-inline: 10px 12px; border-radius: 999px; font-size: .94rem; }
.fxtop__bars { display: grid; gap: 5px; inline-size: 22px; }
.fxtop__bars i { display: block; block-size: 1.5px; background: currentColor; transition: transform .35s var(--ease); }
.fxtop__menu[aria-expanded="true"] .fxtop__bars i:first-child { transform: translateY(3.25px) rotate(45deg); }
.fxtop__menu[aria-expanded="true"] .fxtop__bars i:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.fxtop__theme { display: grid; place-items: center; inline-size: 28px; block-size: 28px; border-radius: 50%; border: 1px solid color-mix(in srgb, currentColor 34%, transparent); }
.fxtop__theme .i { inline-size: 15px; block-size: 15px; }
.fxtop__theme .i-sun, :root[data-theme="light"] .fxtop__theme .i-moon { display: block; }
.fxtop__theme .i-moon, :root[data-theme="light"] .fxtop__theme .i-sun { display: none; }
.fxtop__pct { min-inline-size: 50px; padding: 5px 10px; border-radius: 999px; background: color-mix(in srgb, currentColor 20%, transparent); font-size: .88rem; text-align: center; font-variant-numeric: tabular-nums; }
.fxtop__end { justify-self: end; display: flex; align-items: center; gap: 8px; }
.fxtop__lang { display: grid; place-items: center; inline-size: 40px; block-size: 40px; border-radius: 50%; border: 1px solid color-mix(in srgb, currentColor 28%, transparent); font-size: .82rem; }
.fxtop .fxtop__end .fxbtn { background: var(--pb); color: var(--po); transition: background-color .3s, color .3s, transform .35s var(--ease); }
.fxmenu { position: absolute; z-index: -1; inset-block-start: clamp(6px, 1.1vw, 18px); left: 50%; translate: -50% 0; inline-size: min(410px, 100vw - 2 * var(--g)); max-block-size: calc(100svh - 20px); overflow: auto; padding: 70px 22px 22px; border-radius: 28px; background: var(--fx-menu); color: var(--fx-ink); box-shadow: 0 40px 90px -40px rgba(0, 2, 76, .45); }
.fxmenu:not([hidden]) { animation: fxmenu .5s var(--ease) both; }
@keyframes fxmenu { from { clip-path: inset(0 0 100% 0 round 28px); } to { clip-path: inset(0 0 0 0 round 28px); } }
.fxmenu__h { margin-block: 18px 8px; font-size: .76rem; color: var(--fx-ink-2); }
.fxmenu__h:first-child { margin-block-start: 0; }
.fxmenu__products { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 8px; }
.fxmenu__products a { display: flex; align-items: center; gap: 10px; padding: 5px; border-radius: 10px; font-size: 1rem; }
.fxmenu__products .picon { inline-size: 30px; block-size: 30px; }
.fxmenu a { transition: background-color .2s, opacity .2s; }
.fxmenu__products a:hover { background: color-mix(in srgb, currentColor 9%, transparent); }
.fxmenu__big a { display: block; font-size: 1.36rem; line-height: 1.5; }
.fxmenu__small { display: grid; grid-template-columns: 1fr 1fr; gap: 0 8px; }
.fxmenu__small a { display: block; font-size: .95rem; line-height: 1.9; }
.fxmenu__big a:hover, .fxmenu__small a:hover { opacity: .55; }

/* ---------- Hero: the rocket, the products in orbit ---------- */
.fxhero { position: relative; min-block-size: 100vh; min-block-size: 100svh; overflow: hidden; }
.fxorbit { --s: clamp(54px, min(7vw, 11.5svh), 106px); --d: calc(var(--s) * 5.15); position: absolute; left: 50%; top: 47%; inline-size: var(--d); block-size: var(--d); margin: calc(var(--d) / -2) 0 0 calc(var(--d) / -2); scale: calc(1 - var(--p, 0) * .12); }
.fxorbit__ring { position: absolute; inset: 0; rotate: calc(var(--p, 0) * 140deg); animation: fxspin 90s linear infinite; }
.fxorbit__ring li { position: absolute; left: 50%; top: 50%; inline-size: var(--s); block-size: var(--s); margin: calc(var(--s) / -2); transform: rotate(calc(360deg / var(--n) * var(--i))) translateY(calc((var(--d) - var(--s)) / -2)); }
.fxorbit__ring a { display: block; inline-size: 100%; block-size: 100%; transform: rotate(calc(-360deg / var(--n) * var(--i))); }
.fxorbit__ring .picon { display: block; inline-size: 100%; block-size: 100%; animation: fxspin 90s linear infinite reverse; transition: scale .4s var(--ease); }
.fxorbit__ring a:hover .picon, .fxorbit__ring a:focus-visible .picon { scale: 1.14; }
.fxorbit:hover .fxorbit__ring, .fxorbit:hover .picon { animation-play-state: paused; }
@keyframes fxspin { to { transform: rotate(360deg); } }
.fxorbit__core { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; place-items: center; inline-size: calc(var(--s) * 1.06); block-size: calc(var(--s) * 1.06); border-radius: 25%; border: 1px solid var(--fx-line); background: var(--fx-bg); color: var(--fx-ink); }
.rocket { display: block; block-size: 54%; inline-size: auto; max-block-size: 100%; overflow: visible; }
.fxorbit__core .rocket { block-size: calc(var(--s) * .56); }
.rocket__flame { transform-box: fill-box; transform-origin: 50% 0; animation: fxflame 1.1s ease-in-out infinite; }
@keyframes fxflame { 0%, 100% { scale: 1 1; } 45% { scale: .9 1.32; } 70% { scale: 1.05 .88; } }
.fxorbit__cap { position: absolute; left: 50%; top: calc(50% + var(--s) * .53 + 12px); translate: -50% 0; font-size: .8rem; white-space: nowrap; }
.js .fxorbit__ring li { opacity: 0; animation: fxpop .9s var(--ease) both; animation-delay: calc(.25s + var(--i) * 60ms); }
@keyframes fxpop { from { opacity: 0; scale: .4; } to { opacity: 1; scale: 1; } }
.fxhero__title { font-size: clamp(2.2rem, 1rem + 4.5vw, 4.6rem); line-height: var(--fx-lh); font-weight: 400; letter-spacing: var(--fx-track); }
html[lang="ar"] .fxhero__title { line-height: 1.2; }
html[lang="en"] .fxhero__title { line-height: .97; font-weight: 500; }
.fxhero__title span { display: block; }
.dim { color: var(--fx-dim); }
.fxhero > .fxhero__title { position: absolute; inset-inline-start: var(--g); inset-block-end: clamp(18px, 2.6vw, 40px); }
.fxhero__year, .fxhero__scroll { position: absolute; inset-block-end: clamp(18px, 2.6vw, 40px); font-size: .72rem; letter-spacing: .02em; }
[dir="rtl"] .fxhero__year { left: calc(var(--g) + 104px); }
[dir="ltr"] .fxhero__year { right: calc(var(--g) + 104px); }
.fxhero__scroll { inset-inline-end: var(--g); }
.fxtick { position: absolute; inset-inline-end: var(--g); top: 47%; translate: 0 -50%; block-size: 216px; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 34%, #000 66%, transparent); mask-image: linear-gradient(transparent, #000 34%, #000 66%, transparent); }
.fxtick ul { display: grid; gap: 8px; justify-items: end; padding-block-end: 8px; animation: fxtick 18s linear infinite; }
.fxtick li { padding: 4px 13px 5px; border: 1px solid var(--fx-line); border-radius: 7px; font-size: .82rem; line-height: 1.4; white-space: nowrap; }
.fxtick li:nth-child(3n) { margin-inline-end: 26px; }
.fxtick li:nth-child(3n + 1) { margin-inline-end: 10px; }
@keyframes fxtick { to { translate: 0 -50%; } }
html.intro-on .fxhero * { animation-play-state: paused !important; }

/* ---------- Label + giant statement ---------- */
.fxsplit { display: grid; grid-template-columns: var(--col) minmax(0, 1fr); border-block-start: 1px solid var(--fx-line); }
.fxsplit__label { padding: 24px var(--g); border-inline-end: 1px solid var(--fx-line); font-size: .94rem; }
.fxsplit > :nth-child(2) { padding: clamp(16px, 1.9vw, 28px) var(--g) clamp(56px, 8vw, 130px); }
.fxgiant { font-size: clamp(2.4rem, 1rem + 6.2vw, 6.25rem); line-height: var(--fx-lh); font-weight: 400; letter-spacing: var(--fx-track); text-wrap: balance; }
html[lang="en"] .fxgiant { font-weight: 500; }
.fxgiant--sm { font-size: clamp(1.9rem, 1rem + 3.9vw, 4.2rem); }
.js [data-type][data-reveal] { opacity: 1; clip-path: none; translate: none; }
.js [data-type] span { opacity: 0; }
.js [data-type].is-in span { animation: fxtype 1.15s var(--ease) both; animation-delay: calc(var(--i) * 85ms); }
@keyframes fxtype { 0% { opacity: 0; color: var(--fx-a1); } 22% { opacity: 1; color: var(--fx-a1); } 62% { opacity: 1; color: var(--fx-a2); } 100% { opacity: 1; } }

/* ---------- Soft panels ---------- */
.fxbento { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; padding-inline: 7px; }
.fxpanel { --pp: clamp(20px, 4.6vw, 66px); position: relative; display: grid; align-content: space-between; gap: clamp(24px, 3.4vw, 52px); min-inline-size: 0; padding: var(--pp); border-radius: clamp(24px, 2.8vw, 40px); background: var(--fx-panel); overflow: hidden; }
.fxpanel--wide { grid-column: 1 / -1; }
.fxdot { display: flex; align-items: center; gap: 9px; font-size: .84rem; font-weight: var(--w-strong); }
.fxdot::before { content: ""; inline-size: 4px; block-size: 4px; background: currentColor; opacity: .4; }
.fxflow { display: grid; grid-template-columns: minmax(0, .28fr) auto minmax(0, 1fr); gap: clamp(12px, 2.4vw, 40px); align-items: center; margin-inline-end: calc(var(--pp) * -1); }
.fxflow__in { display: grid; place-items: center; aspect-ratio: .7; border-radius: clamp(18px, 1.9vw, 26px); background: var(--midnight); color: #fff; overflow: hidden; }
.fxflow__in .rocket { block-size: 34%; }
.fxflow__arrow { color: var(--fx-dim); }
.fxflow__arrow .i { inline-size: 22px; block-size: 22px; }
.fxboard { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2.2vw, 34px) 8px; align-content: center; padding: clamp(22px, 3.4vw, 52px) clamp(10px, 1.6vw, 24px); padding-inline-end: var(--pp); border-start-start-radius: clamp(18px, 1.9vw, 26px); border-end-start-radius: clamp(18px, 1.9vw, 26px); background: var(--midnight); color: #fff; }
.fxboard--hydra { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-inline-end: clamp(10px, 1.6vw, 24px); border-radius: clamp(18px, 1.9vw, 26px); background: #00272e; }
.fxapp { display: grid; justify-items: center; gap: 12px; font-size: .88rem; line-height: 1.3; text-align: center; }
.fxapp .picon { inline-size: clamp(54px, 5.6vw, 84px); block-size: auto; aspect-ratio: 1; transition: transform .45s var(--ease); }
.fxapp:hover .picon, .fxapp:focus-visible .picon { transform: translateY(-8px); }
.fxpanel__stage { display: grid; place-items: center; min-block-size: clamp(220px, 26vw, 360px); color: var(--fx-ink); }

/* ---------- The isometric icon stack ---------- */
.iso { --iso: 240px; --u: calc(var(--iso) * .14); --edge: rgba(0, 2, 76, .5); position: relative; display: grid; place-items: center; inline-size: var(--iso); block-size: calc(var(--iso) * .9); }
.iso--md { --iso: clamp(220px, 25vw, 350px); }
.iso--lg { --iso: clamp(220px, 45svh, 450px); }
.iso__scene { position: relative; inline-size: 54%; aspect-ratio: 1; margin-block-start: 10%; transform: rotateX(57deg) rotateZ(-45deg); transform-style: preserve-3d; animation: isofloat 6s ease-in-out infinite; }
@keyframes isofloat { 50% { translate: 0 -4%; } }
.iso__l { position: absolute; inset: 0; border-radius: 22%; transition: transform 1.2s var(--ease); }
.iso__l--1 { background: color-mix(in srgb, currentColor 12%, transparent); }
.iso__l--2 { background: color-mix(in srgb, currentColor 22%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 34%, transparent); transform: translateZ(var(--u)); }
.iso__l--3 { transform: translateZ(calc(var(--u) * 2)); transition-delay: .12s; }
.iso__l--3 .picon { display: block; inline-size: 100%; block-size: 100%; border-radius: 22%; box-shadow: -1px 1px 0 var(--edge), -2px 2px 0 var(--edge), -3px 3px 0 var(--edge), -4px 4px 0 var(--edge), -5px 5px 0 var(--edge), -6px 6px 0 var(--edge), -7px 7px 0 var(--edge), -8px 8px 0 var(--edge); }
.js .iso:not(.is-in) .iso__l--2, .js .iso:not(.is-in) .iso__l--3 { transform: translateZ(0); }
.iso__shadow { position: absolute; inset-block-end: 3%; left: 50%; inline-size: 50%; block-size: 12%; translate: -50% 0; border-radius: 50%; background: rgba(0, 2, 76, .3); filter: blur(calc(var(--iso) * .05)); }
.fxpanel__foot { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.fxh3 { max-inline-size: 15ch; font-size: clamp(1.55rem, 1rem + 1.9vw, 2.75rem); line-height: var(--fx-lh); font-weight: 400; letter-spacing: var(--fx-track); text-wrap: balance; }
html[lang="en"] .fxh3 { font-weight: 500; line-height: 1.04; }
.fxpanel__foot p { max-inline-size: 46ch; margin-block-start: 14px; color: var(--fx-ink-2); font-size: .9rem; line-height: 1.65; }
.fxround { flex: none; display: grid; place-items: center; inline-size: 54px; block-size: 54px; border-radius: 50%; background: var(--fx-bg); color: var(--fx-ink); transition: background-color .25s, color .25s, scale .4s var(--ease); }
.fxround:hover { background: var(--fx-ink); color: var(--fx-bg); scale: 1.08; }
.fxround .i { inline-size: 18px; block-size: 18px; }

/* ---------- The flipping list ---------- */
.fxhow { padding-block-start: clamp(64px, 9vw, 150px); }
.fxhow__label { padding-inline-start: calc(var(--col) + var(--g)); padding-block-end: 14px; font-size: .84rem; }
.fxhow__grid { display: grid; grid-template-columns: var(--col) minmax(0, 1fr); border-block-start: 1px solid var(--fx-line); }
.fxhow__lead { display: grid; align-content: space-between; gap: 40px; padding: 14px var(--g) 26px; border-inline-end: 1px solid var(--fx-line); }
.fxhow__lead h2, .fxhow__word { font-size: clamp(2.1rem, 1rem + 5vw, 5.3rem); line-height: var(--fx-lh); font-weight: 400; letter-spacing: var(--fx-track); }
html[lang="en"] .fxhow__lead h2, html[lang="en"] .fxhow__word { font-weight: 500; }
.fxhow__lead .fxbtn { justify-self: start; }
.fxhow__row { display: flex; justify-content: space-between; align-items: center; gap: 24px; inline-size: 100%; padding: clamp(8px, 1.2vw, 18px) var(--g); border-block-end: 1px solid var(--fx-line); color: var(--fx-ink); text-align: start; opacity: .24; transition: opacity .45s var(--ease); }
.fxhow__row.is-active { opacity: 1; }
.fxhow__list li:has(.is-active) + li .fxhow__row { opacity: .56; }
.fxhow__list li:has(.is-active) + li + li .fxhow__row { opacity: .38; }
.fxhow__note { max-inline-size: 36ch; color: var(--fx-ink-2); font-size: .9rem; line-height: 1.6; opacity: 0; transition: opacity .4s; }
.fxhow__row.is-active .fxhow__note { opacity: 1; }

/* ---------- Logo tiles ---------- */
.fxtrust { padding-block: clamp(56px, 8vw, 130px) 0; }
.fxtrust__label { margin-block-end: 18px; padding-inline: var(--g); font-size: .94rem; }
.fxtrust__label b { font-weight: 300; font-size: 1.7em; margin-inline-end: 4px; }
.fxlogos { padding-block: 0; }
.fxlogos .marquee__track { gap: 7px; padding-inline-end: 7px; animation-duration: 90s; }
.fxlogos li { display: grid; place-items: center; inline-size: clamp(150px, 15vw, 215px); block-size: clamp(108px, 11.4vw, 164px); border-radius: clamp(10px, 1vw, 14px); background: var(--fx-panel); }
.fxmark { display: block; inline-size: 88%; aspect-ratio: 360 / 160; background: var(--fx-ink); -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; opacity: .86; transition: opacity .25s; }
.fxlogos li:hover .fxmark { opacity: 1; }

/* ---------- Products: full-colour steps that stack ---------- */
.fxsteps__head { display: flex; justify-content: space-between; align-items: end; gap: 28px; padding: clamp(56px, 8vw, 130px) var(--g) clamp(20px, 3vw, 40px); }
.fxsteps__head p { max-inline-size: 28ch; font-size: .9rem; line-height: 1.6; text-align: end; }
.fxstep { position: relative; display: grid; grid-template-rows: auto auto auto minmax(0, 1fr); gap: clamp(10px, 1.5vw, 22px); min-block-size: 100vh; min-block-size: 100svh; padding: calc(var(--header-h) + 14px) var(--g) 0; border-radius: clamp(20px, 2.4vw, 34px) clamp(20px, 2.4vw, 34px) 0 0; background: linear-gradient(180deg, var(--c1), var(--c2)); color: var(--on); overflow: hidden; }
.js .fxstep { position: sticky; inset-block-start: 0; }
.fxstep__code { position: absolute; inset-block-start: 12px; left: 50%; translate: -50% 0; font-size: .76rem; opacity: .72; }
.fxstep__head { display: flex; justify-content: space-between; align-items: start; gap: 20px; }
.fxstep__name span { display: block; }
.fxstep__name {  font-size: clamp(2.3rem, 1rem + 4.6vw, 4.8rem); line-height: 1; font-weight: 500; letter-spacing: -.03em; }
.fxstep__n { font-size: clamp(3.4rem, 1rem + 6.6vw, 6.6rem); line-height: .86; font-weight: 300; letter-spacing: -.03em; }
.fxstep__facts { --rule: color-mix(in srgb, var(--on) 30%, transparent); display: grid; grid-template-columns: 1fr 1fr; border-block-start: 1px solid var(--rule); border-inline-end: 1px solid var(--rule); }
.fxstep__facts li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-inline-start: 1px solid var(--rule); font-size: .84rem; line-height: 1.5; }
.fxstep__facts li::before { content: ""; flex: none; inline-size: 5px; block-size: 5px; background: currentColor; }
.fxstep__mid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 20px; }
.fxstep__line { max-inline-size: 30ch; font-size: clamp(.98rem, .9rem + .35vw, 1.2rem); line-height: 1.55; }
.fxstep .iso { --edge: color-mix(in srgb, var(--c1) 50%, #00011f); }
.fxstep__visual { align-self: end; justify-self: center; display: grid; place-items: center; padding-block-end: clamp(8px, 3svh, 40px); }

/* ---------- Ruled rows, accordion, flags ---------- */
.fxsplit--rows { margin-block-start: clamp(56px, 8vw, 130px); }
.fxrows { margin-block-start: clamp(24px, 3.6vw, 56px); border-block-start: 1px solid var(--fx-line); }
.fxrows li { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); align-items: center; gap: 24px; padding-block: clamp(14px, 1.9vw, 26px); border-block-end: 1px solid var(--fx-line); }
.fxrows b { font-size: clamp(3rem, 1rem + 5.4vw, 5.6rem); line-height: 1; font-weight: 300; letter-spacing: -.03em; }
[dir="rtl"] .fxrows b { text-align: right; }
.fxrows strong { display: block; font-size: var(--fs-h3); font-weight: var(--w-strong); line-height: 1.4; }
.fxrows span { display: block; margin-block-start: 4px; color: var(--fx-ink-2); font-size: .92rem; }
.fxacc { margin-block-start: clamp(22px, 3.2vw, 48px); border-block-start: 1px solid var(--fx-line); }
.fxacc details { border-block-end: 1px solid var(--fx-line); }
.fxacc summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 18px; font-size: 1.04rem; cursor: pointer; list-style: none; }
.fxacc summary::-webkit-details-marker { display: none; }
.fxacc summary i { flex: none; inline-size: 13px; block-size: 13px; background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat; transition: rotate .35s var(--ease); }
.fxacc details[open] summary i { rotate: 45deg; }
.fxacc details p { max-inline-size: 62ch; padding-block-end: 20px; color: var(--fx-ink-2); }
.fxsplit__closing { margin-block-start: 28px; color: var(--fx-dim); font-size: var(--fs-h3); line-height: 1.5; }
.fxplaces { padding-block: 0 clamp(56px, 8vw, 130px); }
.fxflags { padding-block: 0; }
.fxflags .marquee__track { gap: 8px; padding-inline-end: 8px; animation-duration: 46s; }
.fxflags li { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border: 1px solid var(--fx-line); border-radius: 10px; font-size: .9rem; white-space: nowrap; direction: rtl; }
html[lang="en"] .fxflags li { direction: ltr; }
.fxflags img { inline-size: 26px; block-size: 19px; border-radius: 3px; object-fit: cover; opacity: 1; }

/* ---------- Stories ---------- */
.fxstories__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; padding-inline: 7px; }
.fxpanel--story { --pp: clamp(12px, 1.5vw, 22px); }
.fxpanel--story .story__media { border-radius: clamp(14px, 1.6vw, 22px); }
.fxpanel--story .story__text span { color: var(--fx-ink-2); }

/* ---------- Footer: one panel, the rocket in dots ---------- */
.fxfoot { padding: 7px; }
.fxfoot__panel { --fp: clamp(18px, 2.4vw, 34px); padding: clamp(22px, 3.2vw, 46px) var(--fp) 0; border-radius: clamp(24px, 2.8vw, 40px); background: var(--fx-panel); overflow: hidden; }
.fxfoot__top { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.3fr) minmax(0, .8fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); }
.fxfoot__logo svg { display: block; block-size: clamp(32px, 3.6vw, 54px); inline-size: auto; }
.fxfoot__closing { margin-block: 22px 18px; font-size: clamp(1.4rem, 1rem + 1.4vw, 2.2rem); line-height: 1.3; }
.fxfoot__col h2 { margin-block-end: 10px; color: var(--fx-ink-2); font-size: .76rem; font-weight: var(--w-body); }
.fxfoot__col ul + h2 { margin-block-start: 22px; }
.fxfoot__col li { font-size: .92rem; line-height: 1.95; }
.fxfoot__col a { transition: opacity .2s; }
.fxfoot__col a:hover { opacity: .55; }
.fxfoot__two { columns: 2; column-gap: 20px; }
.fxfoot__col .fxfoot__muted { max-inline-size: 24ch; color: var(--fx-ink-2); line-height: 1.6; }
.fxfoot__social { display: flex; gap: 4px; margin-block-start: 12px; margin-inline-start: -8px; }
.fxfoot__social a { display: grid; place-items: center; inline-size: 36px; block-size: 36px; border-radius: 50%; }
.fxfoot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-block-start: clamp(28px, 4vw, 56px); padding-block: 16px; color: var(--fx-ink-2); font-size: .76rem; }
.fxfoot__legal ul { display: flex; gap: 18px; }
.fxdots { --u: clamp(13px, 1.42vw, 21px); position: relative; block-size: calc(var(--u) * 15); margin-inline: calc(var(--fp) * -1 + 8px); background: radial-gradient(circle at center, var(--fx-dot) 0 34%, transparent 36%) center top / var(--u) var(--u); overflow: hidden; }
.js .fxdots[data-reveal] { opacity: 1; }
.fxdots i { position: absolute; inset: 0; background: radial-gradient(circle at center, var(--c) 0 34%, transparent 36%) center top / var(--u) var(--u); -webkit-mask: var(--m) center calc(var(--u) * 1) / auto calc(var(--u) * 13) no-repeat; mask: var(--m) center calc(var(--u) * 1) / auto calc(var(--u) * 13) no-repeat; }
.fxdots__body { --c: var(--fx-ink); --m: url("../img/rocket-body.svg"); }
.fxdots__flame { --c: #fd7701; --m: url("../img/rocket-flame.svg"); }
.js .fxdots i { -webkit-mask-position: center calc(var(--u) * 17); mask-position: center calc(var(--u) * 17); transition: -webkit-mask-position 2.4s cubic-bezier(.16, .8, .2, 1), mask-position 2.4s cubic-bezier(.16, .8, .2, 1); }
.js .fxdots.is-in i { -webkit-mask-position: center calc(var(--u) * 1); mask-position: center calc(var(--u) * 1); }
.js .fxdots.is-in .fxdots__flame { animation: fxdotflame .42s steps(2, jump-none) 2.4s infinite; }
@keyframes fxdotflame { from { opacity: 1; } to { opacity: .45; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .fxfoot__top { grid-template-columns: 1fr 1fr; }
  .fxfoot__brand { grid-column: 1 / -1; }
  .fxstories__grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  :root { --col: 0px; }
  .fxtop__end .fxbtn, .fxtop__lang { display: none; }
  .fxtop { grid-template-columns: 1fr auto; }
  .fxtop__end { display: none; }
  .fxsplit, .fxhow__grid { grid-template-columns: minmax(0, 1fr); }
  .fxsplit__label { padding-block: 16px 4px; border-inline-end: 0; color: var(--fx-ink-2); font-size: .84rem; }
  .fxhow__label { padding-inline-start: var(--g); }
  .fxhow__lead { gap: 16px; border-inline-end: 0; border-block-end: 1px solid var(--fx-line); }
  .fxhow__note { display: none; }
  .fxbento { grid-template-columns: minmax(0, 1fr); }
  .fxflow { grid-template-columns: minmax(0, 1fr); margin-inline-end: 0; }
  .fxflow__in, .fxflow__arrow { display: none; }
  .fxboard { padding: 26px 12px; border-radius: 20px; }
  .iso--lg { --iso: clamp(200px, 36svh, 330px); }
  .fxtick { display: none; }
  .fxorbit { top: 41%; --s: clamp(46px, 12.6vw, 76px); --d: calc(var(--s) * 5.5); }
  .fxhero > .fxhero__title { inset-block-end: 58px; }
  [dir="rtl"] .fxhero__year { left: auto; right: var(--g); }
  [dir="ltr"] .fxhero__year { right: auto; left: var(--g); }
  .fxsteps__head { display: grid; }
  .fxsteps__head p { text-align: start; }
  .fxstep__mid { grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 14px; }
  .fxstep__facts li { padding: 9px 10px; font-size: .78rem; }
  .fxrows li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
}
@media (max-width: 560px) {
  .fxboard { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fxboard--hydra { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fxapp { font-size: .76rem; gap: 8px; }
  .fxfoot__top { grid-template-columns: 1fr; }
  .fxtop__menu span[data-fxmenu-label] { display: none; }
  .fxtop__menu { padding-inline: 8px; }
  .fxpanel__foot { align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  .fxorbit__ring, .fxorbit__ring .picon, .fxtick ul, .rocket__flame, .js .fxorbit__ring li { animation: none; opacity: 1; }
  .iso__scene { animation: none; }
  .iso__l { transition: none; }
  .js [data-type] span { opacity: 1; animation: none !important; }
  .js .fxdots i { transition: none; -webkit-mask-position: center calc(var(--u) * 1); mask-position: center calc(var(--u) * 1); }
  .js .fxstep { position: relative; }
}

/* ==========================================================================
   Inner pages: the same pieces as the home page.
   ========================================================================== */
.fxph { display: grid; grid-template-columns: var(--col) minmax(0, 1fr); padding-block-start: calc(var(--header-h) + clamp(28px, 5vw, 72px)); }
.fxph__label { display: grid; align-content: start; justify-items: start; gap: 8px; padding: 10px var(--g); font-size: .94rem; }
.fxph__label span, .fxph__label a { color: var(--fx-ink-2); font-size: .86rem; }
.fxph__label a:hover { color: var(--fx-ink); }
.fxph__product { display: flex; align-items: center; gap: 12px; font-size: 1.05rem; }
.fxph__product .picon { inline-size: 44px; block-size: 44px; }
.fxph__main { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); padding: 0 var(--g) clamp(40px, 6vw, 96px); }
.fxph__main--visual { grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr); align-items: end; }
.fxph__main--form { grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr); align-items: start; }
.fxph__lead { max-inline-size: 56ch; margin-block-start: 22px; color: var(--fx-ink-2); font-size: var(--fs-lead); line-height: 1.7; text-wrap: pretty; }
.fxph__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 28px; }
.fxbtn--lg { min-block-size: 48px; padding: 8px 24px; font-size: 1rem; white-space: normal; text-align: center; }
.fxbtn--ghost { background: transparent; color: var(--fx-ink); box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 30%, transparent); }
.fxph__visual { display: grid; place-items: center; min-block-size: clamp(260px, 30vw, 430px); border-radius: clamp(24px, 2.8vw, 40px); background: linear-gradient(180deg, var(--c1), var(--c2)); color: #fff; overflow: hidden; }
.fxph__visual .iso { --edge: color-mix(in srgb, var(--c1) 50%, #00011f); }
.fxpanel--board { gap: clamp(18px, 2.4vw, 32px); }
.fxboard--full { grid-template-columns: repeat(var(--cols, 8), minmax(0, 1fr)); padding-inline-end: clamp(10px, 1.6vw, 24px); border-radius: clamp(18px, 1.9vw, 26px); }
.fxpanel--film { padding: clamp(8px, 1vw, 14px); }
.fxpanel--film video { display: block; inline-size: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: clamp(18px, 2.2vw, 30px); background: var(--midnight); }

.fxlist { margin-block-start: clamp(22px, 3.2vw, 48px); border-block-start: 1px solid var(--fx-line); }
.fxlist a { display: grid; grid-template-columns: auto minmax(0, .7fr) minmax(0, 1.4fr) auto; align-items: center; gap: 18px; padding-block: 15px; border-block-end: 1px solid var(--fx-line); transition: padding .35s var(--ease); }
.fxlist a:hover { padding-inline: 10px; }
.fxlist .picon { inline-size: 46px; block-size: 46px; }
.fxlist strong { font-size: var(--fs-h3); font-weight: 500; line-height: 1.3; }
[dir="rtl"] .fxlist strong { text-align: right; }
.fxlist span { color: var(--fx-ink-2); font-size: .95rem; line-height: 1.6; }
.fxlist em { display: inline-flex; align-items: center; gap: 6px; font-style: normal; font-size: .88rem; white-space: nowrap; }
.fxcaps { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(20px, 4vw, 64px); margin-block-start: clamp(22px, 3.2vw, 48px); }
.fxcaps > div { padding-block: 20px; border-block-start: 1px solid var(--fx-line); }
.fxcaps dt { margin-block-end: 6px; font-size: var(--fs-h3); font-weight: var(--w-strong); line-height: 1.4; }
.fxcaps dd { color: var(--fx-ink-2); line-height: 1.7; }
.fxrows--steps li { grid-template-columns: minmax(0, .42fr) minmax(0, 1.6fr); }
.fxrows--steps b { font-size: clamp(2rem, 1rem + 3vw, 3.6rem); }
.fxnorth { display: grid; gap: 10px; margin-block-start: clamp(22px, 3.2vw, 48px); }
.fxnorth b { font-size: clamp(2.6rem, 1rem + 5.4vw, 5.6rem); line-height: var(--fx-lh); font-weight: 400; letter-spacing: var(--fx-track); }
.fxnorth span { max-inline-size: 52ch; color: var(--fx-ink-2); font-size: var(--fs-lead); }
.fxfacts > div { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.6fr); gap: 20px; padding-block: 14px; border-block-end: 1px solid var(--fx-line); }
.fxfacts > div:first-child { border-block-start: 1px solid var(--fx-line); }
.fxfacts dt { color: var(--fx-ink-2); font-size: .92rem; }
.fxfacts--stack > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
.fxaside { --pp: clamp(18px, 2.4vw, 32px); align-content: start; gap: 18px; }
.fxacc details p strong { color: var(--fx-ink); font-weight: var(--w-strong); }

.fx .form { margin-block-start: clamp(22px, 3vw, 40px); }
.fx .field input, .fx .field select, .fx .field textarea { padding: 14px 16px; border: 1px solid transparent; border-radius: 14px; background: var(--fx-panel); color: var(--fx-ink); }
.fx .field select option { background: var(--fx-bg); color: var(--fx-ink); }
.fx .field input:focus, .fx .field select:focus, .fx .field textarea:focus { border-color: var(--fx-ink); box-shadow: none; }
.fx .form .fxbtn { justify-self: start; }
.fx .legal { max-inline-size: 860px; }
.fx .legal__body p { color: var(--fx-ink-2); }

@media (max-width: 860px) {
  .fxph { grid-template-columns: minmax(0, 1fr); }
  .fxph__label { padding-block: 0 14px; color: var(--fx-ink-2); }
  .fxph__main--visual, .fxph__main--form { grid-template-columns: minmax(0, 1fr); }
  .fxlist a { grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px 14px; }
  .fxlist span { grid-column: 2 / -1; grid-row: 2; }
  .fxcaps { grid-template-columns: minmax(0, 1fr); }
  .fxboard--full { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fxfacts > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
@media (max-width: 560px) {
  .fxboard--full.fxboard--hydra { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ==========================================================================
   Fixes kept from the client's review on a phone-sized screen:
   product name on one line, the ring fitted to small screens, calmer spacing.
   ========================================================================== */
.fxstep__name { max-inline-size: none; white-space: nowrap; }
.fxstep__visual { align-self: center; padding-block: clamp(8px, 2svh, 28px); }

@media (max-width: 860px) {
  /* Hero: the ring, then the headline, in the flow */
  .fxhero { display: flex; flex-direction: column; min-block-size: 0; padding: clamp(92px, 13svh, 120px) var(--g) 26px; }
  .fxhero .fxorbit { --s: clamp(40px, 13.6vw, 72px); --d: calc(var(--s) * 6.3); position: relative; left: auto; top: auto; align-self: center; margin: 0; scale: 1; }
  .fxhero .fxorbit__cap { top: calc(100% + 14px); color: var(--fx-ink-2); }
  .fxhero > .fxhero__title { position: static; margin-block-start: clamp(64px, 11svh, 92px); font-size: clamp(2.3rem, 10.4vw, 3.4rem); }
  .fxhero__year { display: none; }
  .fxhero__scroll { position: static; align-self: flex-start; margin-block-start: 22px; }

  /* Type and section spacing */
  .fxsplit > :nth-child(2) { padding-block: 10px clamp(48px, 12vw, 72px); }
  .fxsplit--rows { margin-block-start: clamp(48px, 12vw, 72px); }
  .fxgiant { font-size: clamp(2.3rem, 10.6vw, 3.4rem); }
  .fxgiant--sm { font-size: clamp(1.8rem, 8vw, 2.6rem); }
  .fxpanel { --pp: 22px; gap: 26px; }
  .fxpanel__foot { gap: 16px; }
  .fxhow { padding-block-start: clamp(48px, 12vw, 72px); }
  .fxtrust { padding-block-start: clamp(48px, 12vw, 72px); }
  .fxlogos li { inline-size: 132px; block-size: 96px; }
  .fxsteps__head { padding-block: clamp(48px, 12vw, 72px) 22px; gap: 14px; }
  .fxrows { margin-block-start: 20px; }
  .fxfoot__panel { padding-block-start: 26px; }
  .fxfoot__top { gap: 28px; }

  /* Product panels */
  .fxstep { gap: 18px; padding-block-start: calc(var(--header-h) + 18px); }
  .fxstep__code { display: none; }
  .fxstep__head { align-items: center; }
  .fxstep__name { font-size: clamp(1.9rem, 9.4vw, 3.2rem); }
  .fxstep__name--long { font-size: clamp(1.5rem, 7.1vw, 2.6rem); }
  .fxstep__n { font-size: clamp(1.9rem, 9.4vw, 3.2rem); opacity: .7; }
  .fxstep__facts li { padding: 12px; }
  .fxstep__mid { gap: 18px; }
  .iso--lg { --iso: min(74vw, 40svh, 340px); }
}

/* ---------- Footer: the wordmark, full width, as the sign-off ---------- */
.fxfoot__closing { margin-block: 0 18px; font-size: clamp(1.8rem, 1rem + 2.6vw, 3.4rem); line-height: var(--fx-lh); }
.fxword { margin-block-start: clamp(28px, 4vw, 60px); padding-block-end: clamp(14px, 2vw, 30px); overflow: hidden; line-height: 0; direction: ltr; color: var(--fx-ink); }
.js .fxword[data-reveal] { opacity: 1; }
.fxword svg { display: block; inline-size: 100%; block-size: auto; overflow: visible; }
.fxword path { transform-box: fill-box; }
.js .fxword path { translate: 0 118%; transition: translate 1.1s var(--ease); }
.js .fxword path:nth-of-type(3) { transition-delay: 0s; }
.js .fxword path:nth-of-type(2) { transition-delay: .07s; }
.js .fxword path:nth-of-type(1) { transition-delay: .14s; }
.js .fxword path:nth-of-type(5), .js .fxword path:nth-of-type(6) { transition-delay: .21s; }
.js .fxword path:nth-of-type(4) { transition-delay: .28s; }
.js .fxword.is-in path { translate: 0 0; }
@media (prefers-reduced-motion: reduce) { .js .fxword path { translate: none; transition: none; } }

/* ---------- One vertical rhythm for the whole page ---------- */
.fx { --sp: clamp(72px, 9.5vw, 152px); --sp-s: clamp(28px, 3.6vw, 56px); }
.fxsplit > :nth-child(2) { padding-block: var(--sp-s) var(--sp); }
.fxsplit__label { padding-block: var(--sp-s); }
.fxhow { padding-block-start: var(--sp); }
.fxtrust { padding-block: var(--sp) 0; }
.fxsteps__head { padding-block: var(--sp) var(--sp-s); }
.fxsplit--rows { margin-block-start: var(--sp); }
.fxrows, .fxacc, .fxlist, .fxcaps { margin-block-start: var(--sp-s); }
.fxplaces { padding-block: var(--sp-s) var(--sp); }
.fxstories { padding-block-end: 0; }
.fxph { padding-block-start: calc(var(--header-h) + var(--sp-s)); }
.fxph__main { padding-block-end: var(--sp); }
.fxbento + .fxsplit, .fxbento + div > .fxsplit { margin-block-start: var(--sp); }
.fxfoot { padding-block-start: 0; }
.fxpanel { gap: var(--sp-s); }
.fxpanel__foot p { margin-block-start: 16px; }
.fxtrust__label { margin-block-end: 22px; }
@media (max-width: 860px) {
  .fx { --sp: clamp(56px, 14vw, 80px); --sp-s: 24px; }
  .fxsplit > :nth-child(2) { padding-block: 8px var(--sp); }
  .fxsplit__label { padding-block: 18px 6px; }
  .fxsteps__head { padding-block: var(--sp) 22px; }
  .fxhow, .fxtrust { padding-block-start: var(--sp); }
  .fxsplit--rows { margin-block-start: var(--sp); }
}

/* ==========================================================================
   Hero, balanced: text on one side, the ring in the middle, proof on the other.
   ========================================================================== */
.fxhero { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: clamp(20px, 3vw, 56px); min-block-size: 100vh; min-block-size: 100svh; padding: calc(var(--header-h) + 20px) var(--g) clamp(56px, 8svh, 88px); }
.fxhero .fxorbit { --s: clamp(50px, min(5.5vw, 9.4svh), 90px); --d: calc(var(--s) * 6.3); position: relative; left: auto; top: auto; margin: 0; }
.fxorbit__ring a { rotate: calc(var(--p, 0) * -140deg); }
.fxhero__text { display: grid; justify-items: start; gap: clamp(16px, 2vw, 26px); max-inline-size: 460px; }
.fxhero__title { font-size: clamp(2.1rem, 1rem + 2.7vw, 3.5rem); text-wrap: balance; }
.fxhero__lead { max-inline-size: 40ch; color: var(--fx-ink-2); font-size: clamp(1rem, .95rem + .3vw, 1.14rem); line-height: 1.75; text-wrap: pretty; }
.fxhero__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.fxhero__stats { justify-self: end; display: grid; inline-size: min(100%, 270px); border-block-start: 1px solid var(--fx-line); }
.fxhero__stats > div { padding-block: clamp(12px, 1.5vw, 20px); border-block-end: 1px solid var(--fx-line); }
.fxhero__stats dt { display: flex; align-items: baseline; gap: 10px; }
.fxhero__stats b { font-size: clamp(2rem, 1rem + 2.4vw, 3.2rem); line-height: 1; font-weight: 300; letter-spacing: -.02em; }
.fxhero__stats dt span { font-size: 1rem; }
.fxhero__stats dd { margin-block-start: 4px; color: var(--fx-ink-2); font-size: .92rem; line-height: 1.5; }
.fxhero__scroll { position: absolute; inset-block-end: clamp(16px, 2.4vw, 30px); inset-inline: auto; left: 50%; translate: -50% 0; font-size: .8rem; color: var(--fx-ink-2); }
.fxorbit__cap { font-size: .9rem; min-inline-size: 12em; text-align: center; }

/* Entrance: text first, then the ring, then the proof */
.js .fxhero__title span { animation: fxup .9s var(--ease) both; }
.js .fxhero__title span + span { animation-delay: .1s; }
.js .fxhero__lead { animation: fxup .9s var(--ease) .22s both; }
.js .fxhero__actions { animation: fxup .9s var(--ease) .32s both; }
.js .fxhero__stats > div { animation: fxup .9s var(--ease) both; animation-delay: .9s; }
.js .fxhero__stats > div:nth-child(2) { animation-delay: 1s; }
.js .fxhero__stats > div:nth-child(3) { animation-delay: 1.1s; }
@keyframes fxup { from { opacity: 0; translate: 0 22px; } to { opacity: 1; translate: 0 0; } }

@media (max-width: 1180px) {
  .fxhero { grid-template-columns: minmax(0, 1fr) auto; }
  .fxhero__stats { grid-column: 1 / -1; justify-self: stretch; inline-size: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(16px, 3vw, 40px); border-block-start: 0; }
  .fxhero__stats > div { border-block-start: 1px solid var(--fx-line); border-block-end: 0; }
}
@media (max-width: 860px) {
  .fxhero { display: flex; flex-direction: column; align-items: stretch; gap: 0; min-block-size: 0; padding: clamp(92px, 13svh, 120px) var(--g) 28px; }
  .fxhero .fxorbit { order: -1; --s: clamp(40px, 13.6vw, 72px); --d: calc(var(--s) * 6.3); align-self: center; scale: 1; }
  .fxhero .fxorbit__cap { top: calc(100% + 14px); color: var(--fx-ink-2); }
  .fxhero__text { max-inline-size: none; margin-block-start: clamp(64px, 11svh, 92px); gap: 16px; }
  .fxhero__title { font-size: clamp(2.3rem, 10.4vw, 3.4rem); }
  .fxhero__stats { margin-block-start: 30px; gap: 0 14px; }
  .fxhero__stats b { font-size: 1.9rem; }
  .fxhero__stats dt { flex-direction: column; gap: 2px; }
  .fxhero__stats dt span, .fxhero__stats dd { font-size: .84rem; }
  .fxhero__scroll { display: none; }
}

/* ==========================================================================
   Text: nothing smaller than a comfortable Arabic reading size.
   ========================================================================== */
.fxdot { font-size: .95rem; }
.fxpanel__foot p { font-size: 1rem; line-height: 1.75; }
.fxapp { font-size: .95rem; }
.fxsplit__label, .fxtrust__label, .fxph__label { font-size: 1rem; }
.fxhow__label { font-size: .95rem; }
.fxhow__note { font-size: 1rem; }
.fxstep__facts li { font-size: .95rem; }
.fxstep__line { font-size: clamp(1.05rem, .95rem + .45vw, 1.3rem); line-height: 1.65; }
.fxsteps__head p { max-inline-size: 30ch; font-size: 1.04rem; line-height: 1.7; color: var(--fx-ink-2); }
.fxrows span { font-size: 1rem; line-height: 1.7; }
.fxacc summary { font-size: 1.12rem; }
.fxflags li { font-size: .95rem; }
.fxfoot__col h2 { font-size: .86rem; }
.fxfoot__col li { font-size: 1rem; }
.fxfoot__legal { font-size: .86rem; }
.fxbtn { font-size: 1rem; }

/* ==========================================================================
   Motion, kept quiet: one easing, clear hover and press, nothing that wanders.
   ========================================================================== */
.fx :focus-visible { outline: 2px solid var(--fx-a1); outline-offset: 3px; border-radius: 6px; }
.fxbtn { transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease); }
.fxbtn:active { transform: scale(.97); }
.fxround { transition: background-color .25s var(--ease), color .25s var(--ease), scale .3s var(--ease); }
.fxlogos li, .fxapp .picon, .fxorbit__ring .picon { transition: transform .35s var(--ease), scale .35s var(--ease), background-color .25s var(--ease); }
@media (hover: hover) {
  .fxbtn:hover { transform: none; background: var(--c-blue, #004dff); color: #fff; }
  .fxbtn--ghost:hover { background: var(--fx-ink); color: var(--fx-bg); box-shadow: none; }
  .fxbtn--white:hover { background: #00024c; color: #fff; }
  .fxtop .fxtop__end .fxbtn:hover { background: #004dff; color: #fff; }
  .fxlogos li:hover { transform: translateY(-4px); }
}
@media (prefers-reduced-motion: reduce) {
  .js .fxhero__title span, .js .fxhero__lead, .js .fxhero__actions, .js .fxhero__stats > div { animation: none; }
}

/* ==========================================================================
   Depth: soft blue light behind the hero, and glass for the things that float
   over it (top bar, menu, the rocket tile, the figures). Easier on the eye than
   solid dark blocks on white, and it carries into the dark theme.
   ========================================================================== */
:root {
  --glass: rgba(255, 255, 255, .09);
  --glass-line: rgba(255, 255, 255, .2);
  --glass-shine: rgba(255, 255, 255, .16);
  --glass-shadow: 0 18px 50px -22px rgba(0, 0, 20, .7);
  --glow-1: rgba(0, 77, 255, .55);
  --glow-2: rgba(47, 131, 255, .38);
  --glow-3: rgba(108, 160, 255, .26);
}
:root[data-theme="light"] {
  --glass: rgba(255, 255, 255, .58);
  --glass-line: rgba(255, 255, 255, .9);
  --glass-shine: rgba(255, 255, 255, .95);
  --glass-shadow: 0 18px 46px -22px rgba(0, 46, 186, .38);
  --glow-1: rgba(0, 77, 255, .2);
  --glow-2: rgba(108, 160, 255, .34);
  --glow-3: rgba(172, 203, 255, .6);
}
.fxglass { background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--glass-shadow), inset 0 1px 0 var(--glass-shine); -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%); }

/* ---------- Top bar ---------- */
.fxtop { grid-template-columns: 1fr auto 1fr; }
.fxtop__pill { justify-self: start; gap: 4px; padding: 5px; background: var(--glass); color: var(--tk); }
.fxtop__pill--tools { justify-self: end; }
.fxtop[data-tone="dark"] .fxtop__pill { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .24); box-shadow: 0 18px 50px -22px rgba(0, 0, 20, .7), inset 0 1px 0 rgba(255, 255, 255, .18); }
.fxtop[data-tone="light"] .fxtop__pill { background: rgba(255, 255, 255, .5); border-color: rgba(255, 255, 255, .8); }
.fxtop__logo { justify-self: center; }
.fxtop__menu { padding-block: 7px; padding-inline: 12px 14px; font-size: 1rem; }
.fxtop__lang { inline-size: auto; min-inline-size: 40px; block-size: 36px; padding-inline: 10px; border: 0; border-radius: 999px; background: color-mix(in srgb, currentColor 9%, transparent); font-size: .86rem; }
.fxtop__theme { inline-size: 36px; block-size: 36px; border: 0; background: color-mix(in srgb, currentColor 9%, transparent); }
.fxtop__pct { background: transparent; min-inline-size: 46px; }
.fxmenu { z-index: -1; inset-block-start: clamp(6px, 1.1vw, 18px); left: auto; inset-inline-start: var(--g); translate: none; padding: 74px 22px 22px; background: color-mix(in srgb, var(--fx-bg) 72%, transparent); border-radius: 28px; }
.fxmenu:not([hidden]) { animation: fxmenu .5s var(--ease) both; }
@media (hover: hover) {
  .fxtop__menu:hover, .fxtop__lang:hover, .fxtop__theme:hover { background: color-mix(in srgb, currentColor 16%, transparent); }
}

/* ---------- Hero: light behind the ring ---------- */
.fxhero { isolation: isolate; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
.fxhero::before { content: ""; position: absolute; z-index: -1; inset: -10% -10% -20%; background: radial-gradient(34% 42% at 50% 46%, var(--glow-1), transparent 72%), radial-gradient(26% 32% at 63% 62%, var(--glow-2), transparent 70%), radial-gradient(24% 30% at 37% 34%, var(--glow-3), transparent 70%); filter: blur(48px); animation: fxglow 14s ease-in-out infinite alternate; pointer-events: none; }
@keyframes fxglow { to { transform: translate3d(2%, -3%, 0) scale(1.06); } }
.fxhero__title span { color: var(--fx-ink); }
.fxhero__mid { display: grid; justify-items: center; gap: clamp(18px, 2.4vw, 30px); }
.fxhero .fxbtn--ghost { background: var(--glass); box-shadow: var(--glass-shadow), inset 0 0 0 1px var(--glass-line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }

/* The rocket tile and the icon at the top of the ring */
.fxorbit__core.fxglass { background: var(--glass); border-color: var(--glass-line); }
.fxorbit__ring li.is-top .picon { scale: 1.14; filter: drop-shadow(0 12px 18px rgba(0, 77, 255, .4)); }
.fxorbit__ring .picon { transition: scale .5s var(--ease), filter .5s var(--ease); }
.fxhero .fxorbit__cap { top: calc(50% + var(--s) * .53 + 12px); color: var(--fx-ink-2); font-size: .86rem; }

/* The reel of product names under the ring */
.fxreel { position: relative; inline-size: 100%; block-size: 2em; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 32%, #000 68%, transparent); mask-image: linear-gradient(90deg, transparent, #000 32%, #000 68%, transparent); }
.fxreel ul { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: clamp(20px, 2.6vw, 36px); block-size: 100%; inline-size: max-content; transition: transform .8s var(--ease); }
.fxreel li { color: var(--fx-dim); font-size: 1rem; font-weight: 300; white-space: nowrap; transition: color .4s var(--ease), scale .4s var(--ease); }
.fxreel li.is-active { color: var(--fx-ink); font-weight: 500; scale: 1.12; }

/* The figures as glass tiles */
.fxhero__stats { gap: 10px; border: 0; inline-size: min(100%, 290px); }
.fxhero__stats > div { padding: clamp(14px, 1.5vw, 20px) clamp(16px, 1.7vw, 22px); border-radius: clamp(16px, 1.6vw, 22px); border: 1px solid var(--glass-line); }
.fxhero__stats dt { justify-content: space-between; }
.fxhero__stats b { font-weight: 500; letter-spacing: -.03em; color: var(--c-blue, #004dff); }
:root:not([data-theme="light"]) .fxhero__stats b { color: #accbff; }
.fxhero__stats dt span { color: var(--fx-ink); font-weight: var(--w-strong); }
.fxhero__stats dd { margin-block-start: 6px; }
@media (hover: hover) {
  .fxhero__stats > div { transition: transform .35s var(--ease); }
  .fxhero__stats > div:hover { transform: translateY(-4px); }
}

@media (max-width: 1180px) {
  .fxhero { grid-template-columns: minmax(0, 1fr) auto; }
  .fxhero__stats { inline-size: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .fxhero__stats > div { border: 1px solid var(--glass-line); }
}
@media (max-width: 860px) {
  .fxhero__mid { order: -1; align-self: center; inline-size: 100%; }
  .fxhero .fxorbit__cap { top: calc(50% + var(--s) * .53 + 8px); font-size: .74rem; }
  .fxhero__text { margin-block-start: clamp(26px, 5svh, 44px); }
  .fxhero__stats { gap: 8px; }
  .fxhero__stats > div { padding: 12px; }
  .fxhero__stats dt { align-items: flex-start; }
  .fxtop__pct { display: none; }
  .fxmenu { inset-inline: var(--g); inline-size: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .fxhero::before { animation: none; }
  .fxreel ul { transition: none; }
}

/* ---------- Once the page scrolls, the whole bar becomes a strip of glass so nothing collides with the logo ---------- */
.fx .fxtop::before { content: ""; position: absolute; inset: 0; z-index: -2; background: color-mix(in srgb, var(--fx-bg) 66%, transparent); border-block-end: 1px solid var(--fx-line); -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%); opacity: 0; transition: opacity .3s var(--ease), background-color .3s var(--ease); pointer-events: none; }
.fx .fxtop.is-scrolled::before, .fx:not(.page-home) .fxtop.is-scrolled:not([data-tone="dark"])::before { opacity: 1; }
.fx .fxtop[data-tone="dark"]::before { background: rgba(0, 2, 76, .32); border-block-end-color: rgba(255, 255, 255, .16); }
.fx .fxtop[data-tone="light"]::before { background: rgba(255, 255, 255, .4); border-block-end-color: rgba(0, 2, 76, .12); }
.fxtop.is-scrolled .fxtop__pill { box-shadow: none; }

@media (max-width: 860px) {
  .fxtop { grid-template-columns: 1fr auto 1fr; padding-block: 10px; }
  .fxtop__lang { display: grid; place-items: center; }
  .fxtop__menu { padding-inline: 10px; }
}

/* ==========================================================================
   Sections pass (client review, 2026-11-20, second round).
   Lighter everywhere: no card-and-shadow figures in the hero, pale tints for
   the two solutions, no banners. The top bar gathers into one capsule around
   the logo once the page moves. Engaz Agent advances with the scroll, and the
   products carry tabs so any one can be reached again.
   ========================================================================== */

/* Secondary text is an opaque colour, not a transparent one: transparent ink
   doubles up where Arabic letters join and the joins show as dark spots. */
:root {
  --fx-dim: #8486b0; --fx-ink-2: #bdbdd0;
  --tint-re: #080c66; --tint-hydra: #06263f; --board: rgba(255, 255, 255, .06); --il-card: rgba(255, 255, 255, .08); --ok: #5fe0a0;
  --c-blue: #004dff; --c-blue-soft: #6ca0ff; --c-midnight: #00024c; --c-orange: #fd7701; --c-green: #00aa53;
  --glass-shadow: 0 10px 30px -22px rgba(0, 0, 20, .55);
}
:root[data-theme="light"] {
  --fx-dim: #696b96; --fx-ink-2: #47497e;
  --tint-re: #f3f7ff; --tint-hydra: #f1faf5; --board: #fff; --il-card: #fff; --ok: #00824c;
  --glass-shadow: 0 10px 30px -22px rgba(0, 46, 186, .22);
}

/* ---------- Section shell: a small label, then the headline ---------- */
.fxkick { display: inline-flex; align-items: center; gap: 10px; margin-block-end: 16px; color: var(--fx-ink-2); font-size: 1rem; line-height: 1.4; }
.fxkick::before { content: ""; flex: none; inline-size: 6px; block-size: 6px; border-radius: 50%; background: var(--c-orange); }
.fxsec { padding: var(--sp) var(--g) 0; }
.fxsec__head { display: grid; justify-items: start; margin-block-end: var(--sp-s); }
.fxsec__head .fxgiant { max-inline-size: 22ch; }
.fxsec__lead { max-inline-size: 56ch; margin-block-start: 16px; color: var(--fx-ink-2); font-size: var(--fs-lead); line-height: 1.75; }
/* the older two-column blocks (inner pages) follow the same rule */
.fxsplit, .fxph { grid-template-columns: minmax(0, 1fr); border-block-start: 0; }
.fxsplit__label { display: flex; align-items: center; gap: 10px; padding: 0 var(--g); margin-block-end: 14px; border: 0; color: var(--fx-ink-2); }
.fxsplit__label::before { content: ""; flex: none; inline-size: 6px; block-size: 6px; border-radius: 50%; background: var(--c-orange); }
.fxsplit > :nth-child(2) { padding-block: 0 var(--sp); }
.fxph__label { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding-block: 0 16px; }

/* ---------- Hero: figures as plain lines, a quieter name line, no shadows under the ring ---------- */
.fxhero__stats { gap: 0; inline-size: min(100%, 250px); border: 0; border-block-start: 1px solid var(--fx-line); }
.fxhero__stats > div { padding: clamp(14px, 1.6vw, 22px) 0; border: 0; border-block-end: 1px solid var(--fx-line); border-radius: 0; background: none; box-shadow: none; }
.fxhero__stats dt { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 10px; }
.fxhero__stats b { font-weight: 300; color: var(--fx-ink); }
:root:not([data-theme="light"]) .fxhero__stats b { color: #fff; }
.fxhero__stats dt span { font-size: 1.05rem; font-weight: var(--w-strong); }
.fxhero__stats dd { margin-block-start: 2px; }
.fxreel li { font-size: .92rem; }
.fxreel li.is-active { font-weight: 400; scale: 1; }
.fxorbit__ring li.is-top .picon { scale: 1.1; filter: none; }
.fxhero__scroll { transition: opacity .3s var(--ease), visibility 0s .3s; }
.has-scrolled .fxhero__scroll { opacity: 0; visibility: hidden; }
@media (hover: hover) { .fxhero__stats > div:hover { transform: none; } }

/* ---------- Top bar: spread out at the top of the page, one capsule around the logo once the page moves ---------- */
.fxtop { transition: color .3s, inset .55s var(--ease), padding .55s var(--ease); }
.fxtop__pill { transition: background-color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease), color .3s; }
.fxtop__logo svg { transition: block-size .55s var(--ease); }
.fx .fxtop::before { inset: 0; border: 1px solid var(--glass-line); border-radius: 999px; background: color-mix(in srgb, var(--fx-bg) 80%, transparent); box-shadow: 0 12px 30px -24px rgba(0, 2, 76, .4); }
.fx .fxtop[data-tone="dark"]::before { border-color: rgba(255, 255, 255, .2); background: rgba(0, 2, 76, .5); }
.fx .fxtop[data-tone="light"]::before { border-color: rgba(0, 2, 76, .1); background: rgba(255, 255, 255, .74); }
.fxtop.is-scrolled { inset-block-start: 10px; inset-inline: calc(50% - 178px); column-gap: 12px; padding: 3px; }
/* inside the capsule the two sides mirror each other: the round buttons sit next to the logo, the menu and the percentage at the two ends */
.fxtop__lang, .fxtop__theme { display: grid; place-items: center; inline-size: 38px; min-inline-size: 38px; block-size: 38px; padding: 0; border-radius: 50%; transition: inline-size .4s var(--ease), block-size .4s var(--ease), background-color .25s var(--ease); }
.fxtop.is-scrolled .fxtop__pill { gap: 4px; padding: 3px; }
.fxtop.is-scrolled .fxtop__lang, .fxtop.is-scrolled .fxtop__theme { inline-size: 34px; min-inline-size: 34px; block-size: 34px; }
.fxtop.is-scrolled .fxtop__menu { block-size: 34px; padding-block: 0; font-size: .95rem; }
.fxtop.is-scrolled .fxtop__pct { display: none; }
.fxtop__menu { padding-inline: 12px; }
.fxtop__pct { min-inline-size: 0; padding-inline: 12px; }
.fxtop.is-scrolled .fxtop__pill { border-color: transparent; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.fxtop.is-scrolled .fxtop__logo svg { block-size: 18px; }
.fxtop.is-scrolled .fxmenu { position: fixed; inset-block-start: 62px; inset-inline: auto; left: 50%; translate: -50% 0; inline-size: min(410px, 100vw - 20px); padding-block-start: 22px; }

/* ---------- What we offer: the mark, a clean fork, two pale panels ---------- */
.fxtree { --fork: color-mix(in srgb, var(--fx-ink) 24%, var(--fx-bg)); padding: var(--sp) var(--g) 0; }
.fxtree__head { display: grid; justify-items: center; text-align: center; }
.fxtree__head .fxgiant { max-inline-size: 20ch; }
.fxtree__fork { position: relative; z-index: 1; display: grid; justify-items: center; margin-block-start: clamp(20px, 2.6vw, 36px); }
.fxtree__mark { position: relative; display: grid; place-items: center; inline-size: 56px; block-size: 56px; border-radius: 28%; background: linear-gradient(180deg, #06107e 0%, #1f47ea 100%); color: #fff; }
.fxtree__mark .rocket { inline-size: auto; block-size: 30px; max-block-size: none; }
.fxtree__mark::after { content: ""; position: absolute; inset-block-start: 100%; left: calc(50% - .75px); inline-size: 1.5px; block-size: 24px; background: var(--fork); }
.fxtree__fork i { position: relative; display: block; inline-size: 50%; block-size: 36px; margin-block-start: 24px; border: 1.5px solid var(--fork); border-block-end: 0; border-radius: 18px 18px 0 0; }
.fxtree__fork i::before, .fxtree__fork i::after { content: ""; position: absolute; inset-block-end: -5px; inline-size: 10px; block-size: 10px; border: 2px solid var(--fx-bg); border-radius: 50%; background: var(--c-blue); }
.fxtree__fork i::before { left: -5.75px; }
.fxtree__fork i::after { right: -5.75px; }
[dir="rtl"] .fxtree__fork i::before, [dir="ltr"] .fxtree__fork i::after { background: var(--c-green); }
.js .fxtree__fork i { clip-path: inset(-10px 50% -10px 50%); transition: clip-path 1.1s var(--ease) .25s; }
.js .fxtree__fork.is-in i { clip-path: inset(-10px -10px -10px -10px); }
.fxtree__tracks { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.2vw, 16px); margin-block-start: var(--sp-s); }
.fxtrack { --pp: clamp(16px, 2.4vw, 36px); gap: clamp(18px, 2.4vw, 32px); }
.fxtrack[data-track="re"] { background: var(--tint-re); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c-blue) 12%, transparent); }
.fxtrack[data-track="hydra"] { background: var(--tint-hydra); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c-green) 16%, transparent); }
.fxtrack .fxboard { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: clamp(20px, 2.6vw, 36px) clamp(10px, 1.4vw, 20px); border-radius: clamp(16px, 1.8vw, 24px); background: var(--board); color: var(--fx-ink); }
.fxtrack[data-track="hydra"] .fxboard { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fxtrack .fxh3 { max-inline-size: 16ch; font-size: clamp(1.45rem, 1rem + 1.4vw, 2.3rem); }
.fxtrack[data-track="re"] .fxdot::before { background: var(--c-blue); opacity: 1; }
.fxtrack[data-track="hydra"] .fxdot::before { background: var(--c-green); opacity: 1; }
.fxtrack .fxdot::before { inline-size: 6px; block-size: 6px; border-radius: 50%; }

/* ---------- Engaz Agent: pinned while its four stages pass with the scroll ---------- */
.fxag { --pinned: 1; position: relative; block-size: 300vh; block-size: 300svh; margin-block-start: clamp(40px, 6vw, 96px); }
.fxag__pin { position: sticky; inset-block-start: 0; display: grid; align-content: center; justify-items: center; gap: clamp(14px, 2.6svh, 28px); min-block-size: 100vh; min-block-size: 100svh; padding: calc(var(--header-h) + 8px) var(--g) 20px; text-align: center; }
.fxag__head { display: grid; justify-items: center; }
.fxag__head .fxkick { margin-block-end: 10px; }
.fxag__head .fxgiant { max-inline-size: 24ch; font-size: clamp(1.75rem, 1rem + 2.7vw, 3.3rem); }
.fxag__tabs { position: relative; isolation: isolate; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 5px; border-radius: 999px; background: var(--fx-panel); }
.fxag__glider { --gy: calc(5px + (1 - var(--gs, 1)) * 20px); position: absolute; z-index: 2; inset: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 5px; border-radius: 999px; background: var(--fx-ink); clip-path: inset(var(--gy) calc(100% - var(--gx, 0px) - var(--gw, 0px)) var(--gy) var(--gx, 0px) round 999px); pointer-events: none; }
.fxag__glider .fxag__tab { color: var(--fx-bg); }
.fxag.is-free .fxag__glider { transition: clip-path .6s var(--ease); }
html:not(.js) .fxag__glider { display: none; }
.fxag__tab { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 9px; padding: 10px 22px; border-radius: 999px; color: var(--fx-ink-2); font-size: 1.04rem; transition: color .3s var(--ease); }
.fxag__tab span { font-size: .8rem; }
html:not(.js) .fxag__tab.is-active { background: var(--fx-ink); color: var(--fx-bg); }
.fxag__stage { --pp: clamp(12px, 1.8vw, 26px); display: grid; inline-size: min(100%, 1120px); text-align: start; }
.fxag__pane { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: clamp(20px, 4vw, 64px); }
.js .fxag__pane { opacity: 0; visibility: hidden; translate: 0 14px; transition: opacity .3s var(--ease), translate .45s var(--ease), visibility 0s .3s; }
.js .fxag__pane.is-active { opacity: 1; visibility: visible; translate: 0 0; transition: opacity .45s var(--ease) .1s, translate .55s var(--ease) .1s; }
.fxag__visual { display: grid; place-items: center; min-block-size: clamp(220px, 34svh, 340px); padding: clamp(14px, 2vw, 28px); border-radius: clamp(16px, 1.8vw, 24px); background: radial-gradient(60% 70% at 50% 50%, var(--glow-3), transparent 74%), var(--fx-bg); overflow: hidden; }
.fxag__copy { display: grid; justify-items: start; gap: 14px; }
.fxag__copy p { max-inline-size: 40ch; color: var(--fx-ink-2); font-size: var(--fs-lead); line-height: 1.75; }
.fxag__closing { padding: var(--sp-s) var(--g) 0; color: var(--fx-dim); font-size: var(--fs-h3); line-height: 1.5; text-align: center; }
html:not(.js) .fxag { block-size: auto; }
html:not(.js) .fxag__pin { position: static; min-block-size: 0; }
html:not(.js) .fxag__pane { grid-area: auto; }
@media (max-height: 640px), (max-width: 860px) and (max-height: 740px) {
  .fxag { --pinned: 0; block-size: auto; }
  .fxag__pin { position: static; min-block-size: 0; padding-block: 0; }
}

/* the four illustrations: small pieces of interface, drawn with the page's own surfaces */
.il { display: flex; align-items: center; justify-content: center; gap: clamp(8px, 1.4vw, 20px); inline-size: 100%; font-size: 1.02rem; line-height: 1.45; }
.il .picon { flex: none; inline-size: 34px; block-size: 34px; }
.il small { color: var(--fx-ink-2); font-size: .86rem; line-height: 1.5; }
@keyframes ilin { from { opacity: 0; translate: 0 12px; } }
@keyframes ilpop { from { opacity: 0; scale: .3; } }
/* 1 — understands: three sources feed the agent */
.il__src { display: grid; gap: 10px; }
.il__src li { display: flex; align-items: center; gap: 9px; block-size: 42px; padding-inline: 14px; border: 1px solid var(--fx-line); border-radius: 12px; background: var(--il-card); white-space: nowrap; }
.il__src li::before { content: ""; flex: none; inline-size: 8px; block-size: 8px; border-radius: 50%; background: var(--c-blue-soft); }
.il__links { flex: 0 1 120px; min-inline-size: 36px; block-size: 146px; overflow: visible; }
[dir="rtl"] .il__links { scale: -1 1; }
.il__links path { fill: none; stroke: var(--c-blue); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 5 6; opacity: .75; animation: ilflow 1s linear infinite; }
@keyframes ilflow { to { stroke-dashoffset: -11; } }
.il__agent { position: relative; flex: none; inline-size: clamp(72px, 7.5vw, 104px); aspect-ratio: 1; }
.il__agent .picon { position: relative; inline-size: 100%; block-size: auto; }
.il__agent i { position: absolute; inset: -8px; border: 1.5px solid var(--c-blue); border-radius: 30%; opacity: 0; animation: ilring 2.8s ease-out infinite; }
.il__agent i + i { animation-delay: 1.4s; }
@keyframes ilring { 0% { opacity: .5; scale: .88; } 100% { opacity: 0; scale: 1.24; } }
.js .fxag__pane.is-active .il__src li { animation: ilin .55s var(--ease) both; animation-delay: calc(.15s + var(--i) * .12s); }
/* 2 — engages: a short conversation */
.il--chat { flex-direction: column; align-items: stretch; gap: 10px; max-inline-size: 440px; }
.il__msg { display: flex; align-items: flex-end; gap: 8px; max-inline-size: 88%; }
.il__msg > span { padding: 10px 14px; border: 1px solid var(--fx-line); border-radius: 16px; border-end-start-radius: 4px; background: var(--il-card); }
.il__msg--agent { align-self: flex-end; flex-direction: row-reverse; }
.il__msg--agent > span { border-color: transparent; border-radius: 16px; border-end-end-radius: 4px; background: var(--c-blue); color: #fff; }
.il__msg > .il__dots { display: inline-flex; gap: 5px; padding: 15px 16px; }
.il__dots i { inline-size: 6px; block-size: 6px; border-radius: 50%; background: #fff; animation: ildot 1.2s ease-in-out infinite; }
.il__dots i:nth-child(2) { animation-delay: .15s; }
.il__dots i:nth-child(3) { animation-delay: .3s; }
@keyframes ildot { 0%, 60%, 100% { opacity: .35; translate: 0 0; } 30% { opacity: 1; translate: 0 -3px; } }
.js .fxag__pane.is-active .il__msg { animation: ilin .5s var(--ease) both; animation-delay: calc(.2s + var(--i) * .45s); }
/* 3 — qualifies: the lead against the team's own checks */
.il__sheet { display: grid; gap: 12px; inline-size: min(100%, 370px); padding: 18px; border: 1px solid var(--fx-line); border-radius: 18px; background: var(--il-card); }
.il__sheet header { display: flex; align-items: center; gap: 10px; }
.il__sheet header b { flex: 1; font-weight: var(--w-strong); }
.il__badge { padding: 4px 12px; border-radius: 999px; background: color-mix(in srgb, var(--c-green) 16%, transparent); color: var(--ok); font-size: .84rem; font-style: normal; white-space: nowrap; }
.il__checks li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 10px; border-block-start: 1px solid var(--fx-line); }
.il__checks li::after { content: ""; flex: none; inline-size: 20px; block-size: 20px; border-radius: 50%; background: var(--c-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.3l2.2 2.2 4.6-5' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.js .fxag__pane.is-active .il__checks li::after { animation: ilpop .4s var(--ease) both; animation-delay: calc(.5s + var(--i) * .35s); }
.js .fxag__pane.is-active .il__badge { animation: ilpop .45s var(--ease) 1.65s both; }
/* 4 — hands over: the qualified lead, with its context, to the right people */
.il__sheet--lead { inline-size: min(56%, 270px); gap: 12px; }
.il__line { display: block; block-size: 8px; border-radius: 4px; background: var(--fx-line); }
.il__line--s { inline-size: 62%; }
.il__go { flex: 0 1 64px; min-inline-size: 22px; block-size: 1.5px; background: repeating-linear-gradient(90deg, var(--c-blue) 0 6px, transparent 6px 12px); animation: ilgo .9s linear infinite; }
[dir="rtl"] .il__go { animation-direction: reverse; }
@keyframes ilgo { to { background-position: 12px 0; } }
.il__team { display: grid; justify-items: center; gap: 12px; padding: 24px 22px; border-radius: 18px; background: var(--fx-ink); color: var(--fx-bg); text-align: center; }
.il__team b { font-weight: var(--w-strong); }
.il__avs { display: flex; }
.il__avs i { inline-size: 40px; block-size: 40px; border: 2px solid var(--fx-ink); border-radius: 50%; background: linear-gradient(180deg, #6ca0ff, #004dff); }
.il__avs i + i { margin-inline-start: -9px; background: linear-gradient(180deg, #accbff, #2f83ff); }
.il__avs i:last-child { background: linear-gradient(180deg, #7fe3ae, #00aa53); }
.js .fxag__pane.is-active .il__sheet--lead { animation: ilin .55s var(--ease) .15s both; }
.js .fxag__pane.is-active .il__team { animation: ilpop .5s var(--ease) .7s both; }

/* after the client's references: a near-white dotted stage, soft white pieces, one brand-blue focal piece, thin pale lines with a bright segment moving along them */
:root { --stage: #0b1478; --stage-dot: rgba(255, 255, 255, .04); --wire: rgba(159, 192, 255, .45); --spark: #9fc0ff; --piece-edge: transparent; --piece-shadow: 0 14px 28px -16px rgba(0, 0, 20, .7); }
:root[data-theme="light"] { --stage: #f5f7fc; --stage-dot: rgba(0, 46, 186, .05); --wire: #bfd0fb; --spark: #004dff; --piece-edge: #e4e9f5; --piece-shadow: 0 1px 0 #fff inset, 0 14px 26px -16px rgba(20, 44, 130, .34); }
.fxag__visual { background: radial-gradient(var(--stage-dot) 1px, transparent 1.5px) 0 0 / 18px 18px, var(--stage); box-shadow: inset 0 0 0 1px var(--piece-edge); }
.fxag__visual .il { --il-card: #fff; --fx-ink: #00024c; --fx-ink-2: #44477c; --fx-line: rgba(0, 2, 76, .12); --fx-bg: #fff; --ok: #006b3c; color: #00024c; }
.il__src li, .il__msg > span, .il__sheet { border-color: var(--piece-edge); box-shadow: var(--piece-shadow); }
.il__src li { font-weight: var(--w-strong); }
.il__src li::before { background: var(--c-blue); }
.il__links { flex: 0 0 clamp(64px, 8vw, 112px); }
.il__links path { stroke: var(--wire); stroke-width: 1.5; stroke-dasharray: none; opacity: 1; animation: none; }
.il__links .il__spark { stroke: var(--spark); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 16 150; animation: ilspark 2.4s linear infinite; }
.il__links .il__spark:nth-of-type(5) { animation-delay: .5s; }
.il__links .il__spark:nth-of-type(6) { animation-delay: 1s; }
@keyframes ilspark { from { stroke-dashoffset: 166; } to { stroke-dashoffset: 0; } }
.il__agent .picon { border-radius: 26%; box-shadow: 0 0 0 7px color-mix(in srgb, var(--c-blue) 10%, transparent), 0 18px 34px -14px rgba(0, 77, 255, .7); }
.il__agent i { border-color: color-mix(in srgb, var(--c-blue) 55%, transparent); }
.il .picon { border-radius: 26%; }
.il__msg--agent > span { border-color: transparent; background: var(--c-blue); box-shadow: 0 14px 26px -14px rgba(0, 77, 255, .75); }
.il__go { block-size: 2px; background: repeating-linear-gradient(90deg, var(--spark) 0 7px, transparent 7px 14px); }
@keyframes ilgo { to { background-position: 14px 0; } }
.il__team { background: var(--c-blue); color: #fff; box-shadow: 0 0 0 7px color-mix(in srgb, var(--c-blue) 10%, transparent), 0 18px 34px -14px rgba(0, 77, 255, .7); }
.il__avs i { border-color: var(--c-blue); background: #fff; }
.il__avs i + i { background: #dbe6ff; }
.il__avs i:last-child { background: #9fc0ff; }
.il__line { background: #e3e7f3; }
.il__checks li { font-weight: var(--w-strong); }

/* ---------- Products: one colour family at a time, text on one side, the icon on the other ---------- */
.fxstep[data-group="re"] { --from1: #004dff; --to1: #00105c; --from2: #2f83ff; --to2: #002cb8; }
.fxstep[data-group="hydra"] { --from1: #00824c; --to1: #00343b; --from2: #00aa53; --to2: #005c44; }
.fxstep { --t: calc(var(--k) / var(--of)); --c1: color-mix(in srgb, var(--to1) calc(var(--t) * 100%), var(--from1)); --c2: color-mix(in srgb, var(--to2) calc(var(--t) * 100%), var(--from2)); --on: #fff; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-rows: none; align-items: center; gap: clamp(20px, 4vw, 72px); padding: calc(var(--header-h) + 20px) clamp(20px, 5vw, 84px) clamp(72px, 10svh, 96px); filter: brightness(calc(1 - var(--cover, 0) * .1)); }
.fxstep__body { display: grid; justify-items: start; gap: clamp(14px, 1.8vw, 24px); max-inline-size: 640px; transform-origin: 50% 0; scale: calc(1 - var(--cover, 0) * .05); }
.fxstep__head { inline-size: 100%; align-items: center; }
.fxstep__group { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .15); font-size: .92rem; line-height: 1.4; }
.fxstep__n { font-size: 1.1rem; line-height: 1; font-weight: 500; letter-spacing: 0; opacity: 1; }
.fxstep__n small { font-size: 1em; font-weight: 300; opacity: .9; }
.fxstep__name { font-size: clamp(2.6rem, 1rem + 5vw, 5.4rem); }
.fxstep__line { max-inline-size: 34ch; }
.fxstep__facts { grid-template-columns: minmax(0, 1fr); inline-size: min(100%, 520px); border: 0; border-block-start: 1px solid rgba(255, 255, 255, .28); }
.fxstep__facts li { padding: 12px 2px; border: 0; border-block-end: 1px solid rgba(255, 255, 255, .28); }
.fxstep__visual { justify-self: center; padding: 0; scale: calc(1 - var(--cover, 0) * .08); }
.js .fxstep__body > * { opacity: 0; translate: 0 26px; transition: opacity .6s var(--ease), translate .7s var(--ease); }
.js .fxstep__body > :nth-child(2) { transition-delay: .07s; }
.js .fxstep__body > :nth-child(3) { transition-delay: .14s; }
.js .fxstep__body > :nth-child(4) { transition-delay: .21s; }
.js .fxstep__body > :nth-child(5) { transition-delay: .28s; }
.js .fxstep.is-on .fxstep__body > * { opacity: 1; translate: 0 0; }
.js .fxstep .iso[data-reveal] { opacity: 1; }
.js .fxstep__visual { transition: translate .9s var(--ease), opacity .6s var(--ease); }
.js .fxstep:not(.is-on) .fxstep__visual { translate: 0 40px; opacity: 0; }
.js .fxstep:not(.is-on) .iso__l--2, .js .fxstep:not(.is-on) .iso__l--3 { transform: translateZ(0); }
.fxsteps__head .fxhero__title span + span { color: var(--fx-dim); }
/* the ruler: every product as a mark down the far edge, so any one can be reached again, and a way past */
.fxskip { position: sticky; inset-block-start: 0; z-index: 6; block-size: 0; }
.fxskip__in { position: absolute; inset-block-start: 0; inset-inline: 0; block-size: 100vh; block-size: 100svh; opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); }
.fxstack.is-live .fxskip__in { opacity: 1; }
.fxstack.is-live .fxskip__tabs, .fxstack.is-live .fxskip__jump { pointer-events: auto; }
.fxskip__tabs { position: absolute; left: 0; inset-block-start: 50%; translate: 0 -50%; display: grid; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .42) 0 1px, transparent 1px 8px) left top / 8px 100% no-repeat; }
html[dir="ltr"] .fxskip__tabs { left: auto; right: 0; background-position: right top; }
.fxskip__tabs a { display: flex; align-items: center; gap: 12px; block-size: 32px; color: rgba(255, 255, 255, .66); font-size: .9rem; line-height: 1; white-space: nowrap; transition: color .3s var(--ease); }
html[dir="ltr"] .fxskip__tabs a { flex-direction: row-reverse; }
.fxskip__tabs a::before { content: ""; flex: none; inline-size: 18px; block-size: 1.5px; background: currentColor; transition: inline-size .45s var(--ease); }
.fxskip__tabs a.is-active { color: #fff; font-weight: 500; }
.fxskip__tabs a.is-active::before { inline-size: 40px; block-size: 2px; }
.fxskip__jump { position: absolute; inset-block-end: 22px; inset-inline-end: 24px; display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; font-size: .92rem; line-height: 1.3; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.fxskip__jump .i { inline-size: 14px; block-size: 14px; transform: rotate(90deg) !important; }
@media (hover: hover) {
  .fxskip__tabs a:not(.is-active):hover { color: #fff; }
  .fxskip__tabs a:not(.is-active):hover::before { inline-size: 28px; }
  .fxskip__jump:hover { background: #fff; color: #00024c; }
}
@media (min-width: 861px) {
  .fxstep { padding-inline-end: calc(clamp(20px, 5vw, 84px) + 104px); padding-block-end: clamp(40px, 7svh, 72px); }
}

/* ---------- Outcomes ---------- */
.fxproof__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 16px); }
.fxproof__grid li { --pp: clamp(22px, 2.6vw, 40px); align-content: space-between; gap: 28px; min-block-size: clamp(240px, 24vw, 340px); }
.fxproof__grid b { font-size: clamp(3.4rem, 1.4rem + 6vw, 7rem); line-height: .95; font-weight: 300; letter-spacing: -.03em; color: var(--c-blue); }
:root:not([data-theme="light"]) .fxproof__grid b { color: #accbff; }
.fxproof__grid strong { display: block; font-size: var(--fs-h3); font-weight: var(--w-strong); line-height: 1.4; }
.fxproof__grid span { display: block; margin-block-start: 6px; color: var(--fx-ink-2); font-size: 1rem; line-height: 1.7; }
.fxproof__grid li:first-child { background: linear-gradient(160deg, #004dff, #002eba); color: #fff; }
.fxproof__grid li:first-child b { color: #fff; }
.fxproof__grid li:first-child span { color: #dbe6ff; }

/* ---------- Stories: a card for each film, the play button in the middle ---------- */
.fxstories { padding-block-end: 0; }
.fxstories__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); padding: 0; }
.fxpanel--story { --pp: clamp(10px, 1vw, 14px); gap: 0; border-radius: clamp(20px, 2.2vw, 30px); }
.fxpanel--story .story { gap: 0; }
.fxpanel--story .story__media { aspect-ratio: 16 / 10; border-radius: clamp(13px, 1.5vw, 20px); }
.fxpanel--story .story__play { inset: auto; left: 50%; top: 50%; translate: -50% -50%; inline-size: clamp(54px, 4.6vw, 66px); block-size: clamp(54px, 4.6vw, 66px); background: rgba(255, 255, 255, .94); color: #00024c; }
.fxpanel--story .story__play .i { inline-size: 38%; block-size: 38%; }
.fxpanel--story .story__text { gap: 2px; padding: clamp(14px, 1.5vw, 20px) clamp(6px, .8vw, 10px) clamp(6px, .8vw, 10px); }
.fxpanel--story .story__text strong { font-size: 1.2rem; font-weight: var(--w-strong); line-height: 1.4; }
.fxpanel--story .story__text span { color: var(--fx-ink-2); font-size: 1rem; }

/* ---------- What ten years taught us: the statement on one side; the three answers and the conclusion on the other ---------- */
.fxlessons { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: clamp(28px, 5vw, 88px); }
.fxlessons .fxsec__head { margin-block-end: 0; }
.fxlessons .fxgiant { max-inline-size: 14ch; font-size: clamp(1.9rem, 1rem + 2.7vw, 3.5rem); }
.fxlessons__side { display: grid; gap: clamp(22px, 2.6vw, 36px); padding-block-start: 40px; }
.fxlessons .fxacc { max-inline-size: none; margin-block-start: 0; counter-reset: lesson; border-block-start-color: color-mix(in srgb, var(--fx-ink) 32%, var(--fx-bg)); }
.fxlessons .fxacc details { border-block-end-color: color-mix(in srgb, var(--fx-ink) 32%, var(--fx-bg)); }
.fxlessons .fxacc summary { padding-block: clamp(20px, 2.1vw, 30px); font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem); line-height: 1.35; }
.fxlessons .fxacc summary span { display: flex; align-items: baseline; gap: clamp(14px, 1.6vw, 24px); }
.fxlessons .fxacc summary span::before { counter-increment: lesson; content: "0" counter(lesson); color: var(--c-orange); font-size: .62em; font-weight: 500; }
.fxlessons .fxacc summary i { inline-size: 16px; block-size: 16px; }
.fxlessons .fxacc details p { max-inline-size: 46ch; padding-block-end: clamp(20px, 2.1vw, 30px); padding-inline-start: calc(clamp(14px, 1.6vw, 24px) + 1.4em); font-size: 1.1rem; line-height: 1.8; }
.fxlessons .fxsplit__closing { max-inline-size: 34ch; margin-block-start: 0; color: var(--fx-ink); font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); line-height: 1.6; }

/* ---------- Presence: the number first, then every country, straight on the page ---------- */
.fxplaces { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); align-items: center; gap: clamp(28px, 6vw, 110px); padding: var(--sp) var(--g); }
.fxplaces__n { display: flex; align-items: baseline; gap: 14px; }
.fxplaces__n b { font-size: clamp(5.5rem, 3rem + 9vw, 11rem); line-height: .85; font-weight: 300; letter-spacing: -.04em; color: var(--c-blue); }
:root:not([data-theme="light"]) .fxplaces__n b { color: #accbff; }
.fxplaces__n span { font-size: clamp(1.4rem, 1rem + 1.4vw, 2.2rem); }
.fxplaces__lead .fxh3 { max-inline-size: 14ch; margin-block-start: clamp(16px, 2vw, 26px); }
.fxplaces__lead > p:last-child { max-inline-size: 40ch; margin-block-start: 12px; color: var(--fx-ink-2); font-size: 1rem; line-height: 1.75; }
.fxplaces__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(138px, 1fr)); gap: 8px; }
.fxplaces__grid li { display: flex; align-items: center; gap: 10px; min-inline-size: 0; padding: 11px 12px; border-radius: 14px; background: var(--fx-panel); font-size: 1rem; line-height: 1.3; }
.fxplaces__grid img { flex: none; inline-size: 30px; block-size: 22px; border-radius: 4px; object-fit: cover; }
[dir="ltr"] .fxplaces__grid { grid-template-columns: repeat(auto-fill, minmax(172px, 1fr)); }
[dir="ltr"] .fxplaces__grid li { min-block-size: 56px; }

/* ---------- Footer: one flat deep blue, room to breathe, social links as tiles like the product icons ---------- */
.fxfoot { padding: 0 7px 7px; }
.fxfoot__panel { --fx-ink: #fff; --fx-ink-2: #c3cbe8; --fx-dim: #8f96c4; --fx-bg: #00024c; --fx-line: rgba(255, 255, 255, .16); padding: clamp(40px, 6vw, 96px) clamp(22px, 4.6vw, 66px) 0; background: #00024c; box-shadow: none; color: #fff; }
:root:not([data-theme="light"]) .fxfoot__panel { --fx-bg: #080c66; background: #080c66; }
.fxfoot__top { gap: clamp(32px, 5vw, 80px); }
.fxfoot__closing { font-size: clamp(2rem, 1rem + 3.2vw, 4rem); margin-block-end: 26px; }
.fxfoot__col h2 { margin-block-end: 14px; }
.fxfoot__col li { line-height: 2.2; }
.fxfoot__col ul + h2 { margin-block-start: 30px; }
.fxfoot__legal { margin-block-start: clamp(40px, 6vw, 88px); padding-block: 22px; border-block-start: 1px solid var(--fx-line); }
.fxfoot__social { gap: 10px; margin-block-start: 20px; margin-inline-start: 0; }
.fxfoot__social a { inline-size: 44px; block-size: 44px; border-radius: 28%; background: linear-gradient(180deg, #0b1a9a 0%, #1f47ea 100%); box-shadow: none; color: #fff; transition: translate .35s var(--ease); }
.fxfoot__social a:hover { opacity: 1; translate: 0 -3px; }
.fxfoot__social .i { inline-size: 19px; block-size: 19px; }
.fxword { margin-block-start: clamp(36px, 5vw, 72px); padding-block-end: clamp(22px, 3vw, 44px); color: #fff; }

/* ---------- Smaller screens ---------- */
@media (max-width: 1180px) {
  .fxhero__stats { inline-size: auto; gap: 0 clamp(16px, 3vw, 40px); border-block-start: 0; }
  .fxhero__stats > div { border: 0; border-block-start: 1px solid var(--fx-line); }
}
@media (max-width: 1100px) {
  .fxproof__grid, .fxstories__grid { grid-template-columns: minmax(0, 1fr); }
  .fxproof__grid li { min-block-size: 0; }
  .fxpanel--story .story__media { aspect-ratio: 16 / 9; }
}
@media (max-width: 860px) {
  .fxhero__stats { gap: 0 14px; }
  .fxhero__stats > div { padding: 12px 0; }
  .fxtop.is-scrolled { inset-block-start: 8px; inset-inline: calc(50% - 142px); column-gap: 10px; }
  .fxtree__tracks { grid-template-columns: minmax(0, 1fr); }
  .fxtree__fork i { display: none; }
  .fxtree__mark::after { block-size: 24px; }
  .fxtree__fork { padding-block-end: 24px; }
  .fxtrack .fxboard { gap: 20px 4px; padding: 22px 8px; }
  .fxag__tabs, .fxag__glider { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fxag__tabs { inline-size: 100%; }
  .fxag__tab { justify-content: center; padding: 10px 4px; font-size: .95rem; }
  .fxag__tab span { display: none; }
  .fxag__pane { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .fxag__visual { min-block-size: clamp(190px, 27svh, 240px); padding: 14px; }
  .fxag__copy { gap: 12px; }
  .fxag__copy .fxh3 { display: none; }
  .fxag__copy p { font-size: 1rem; line-height: 1.65; }
  .il { font-size: .88rem; }
  .il__src li { block-size: 38px; padding-inline: 10px; }
  .il__links { block-size: 134px; }
  .il__msg > span { padding: 8px 12px; }
  .il__msg:nth-child(4) { display: none; }
  .il__sheet { padding: 14px; gap: 8px; }
  .il__checks li { padding-block: 8px; }
  .il__team { padding: 14px 10px; }
  .il__avs i { inline-size: 28px; block-size: 28px; }
  .fxstep { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 8px; padding: calc(var(--header-h) + 14px) var(--g) 76px; }
  .fxstep__body { gap: 14px; }
  .fxstep__name { font-size: clamp(2rem, 10vw, 3.2rem); }
  .fxstep__name--long { font-size: clamp(1.5rem, 7.4vw, 2.6rem); }
  .fxstep__facts li:nth-child(n + 3) { display: none; }
  .fxstep__facts li { padding: 10px 2px; }
  .fxstep__visual { align-self: end; }
  .iso--lg { --iso: min(62vw, 30svh, 280px); }
  .fxskip__tabs { inset-block-start: auto; inset-block-end: 78px; translate: none; background-size: 6px 100%; background-image: repeating-linear-gradient(180deg, rgba(255, 255, 255, .42) 0 1px, transparent 1px 6px); }
  .fxskip__tabs a { block-size: 24px; gap: 8px; font-size: .84rem; }
  .fxskip__tabs a::before { inline-size: 12px; }
  .fxskip__tabs a.is-active::before { inline-size: 24px; }
  .fxskip__tabs a:not(.is-active) span { display: none; }
  .fxskip__jump { inset-block-end: 18px; inset-inline-end: var(--g); padding: 10px 14px; font-size: .88rem; }
  .fxskip__more { display: none; }
  .fxlessons { grid-template-columns: minmax(0, 1fr); gap: var(--sp-s); }
  .fxlessons .fxgiant, .fxlessons .fxsplit__closing { max-inline-size: none; }
  .fxlessons__side { padding-block-start: 0; }
  .fxlessons .fxacc details p { padding-inline-start: 0; font-size: 1rem; }
  .fxplaces { grid-template-columns: minmax(0, 1fr); gap: var(--sp-s); }
  .fxplaces__grid { grid-template-columns: repeat(auto-fill, minmax(98px, 1fr)); gap: 6px; }
  [dir="ltr"] .fxplaces__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  [dir="ltr"] .fxplaces__grid li { min-block-size: 0; }
  .fxplaces__grid li { gap: 8px; padding: 9px 8px; border-radius: 12px; font-size: .86rem; }
  .fxplaces__grid img { inline-size: 24px; block-size: 18px; }
  .fxfoot__panel { padding-block-start: 44px; }
}
@media (max-width: 356px) {
  .fxtop.is-scrolled { inset-inline: calc(50% - 142px); }
}
@media (prefers-reduced-motion: reduce) {
  .fxtop, .fxtop__logo svg { transition: none; }
  .js .fxtree__fork i { clip-path: none; transition: none; }
  .il *, .il { animation: none !important; }
  .js .fxstep__body > *, .js .fxstep__visual { opacity: 1 !important; translate: none !important; transition: none; }
  .fxstep { filter: none; }
}

/* ==========================================================================
   Product pages: a coloured hero in the product's own family, capabilities as
   cards, the flow as connected steps on a tinted panel, neighbours as cards.
   ========================================================================== */
.pd { --pc: var(--c-blue); --pc-ink: #004dff; --pc1: #0036d6; --pc2: #1450f0; --ptint: var(--tint-re); }
.pd--hydra { --pc: #00824c; --pc-ink: #006b3c; --pc1: #00453a; --pc2: #006e45; --ptint: var(--tint-hydra); }
.pd__hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: clamp(20px, 4vw, 72px); min-block-size: min(84svh, 760px); margin: calc(var(--header-h) + 8px) 7px 0; padding: clamp(28px, 5vw, 84px); border-radius: clamp(24px, 2.8vw, 40px); background: radial-gradient(rgba(255, 255, 255, .035) 1px, transparent 1.6px) 0 0 / 22px 22px, linear-gradient(160deg, var(--pc1), var(--pc2)); color: #fff; overflow: hidden; }
.pd__copy { display: grid; justify-items: start; gap: clamp(14px, 1.8vw, 24px); }
.pd__crumb { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px; border-radius: 999px; background: rgba(0, 2, 40, .22); font-size: .95rem; line-height: 1.4; }
.pd__crumb a::after { content: "/"; margin-inline-start: 10px; opacity: .6; }
.pd__title { max-inline-size: 14ch; font-size: clamp(2.2rem, 1rem + 4.2vw, 4.6rem); line-height: var(--fx-lh); font-weight: 400; letter-spacing: var(--fx-track); text-wrap: balance; }
.pd__lead { max-inline-size: 46ch; color: #f1f5ff; font-size: var(--fs-lead); line-height: 1.75; }
.pd__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pd .pd__ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); }
.pd__facts { display: grid; inline-size: min(100%, 520px); margin-block-start: 6px; border-block-start: 1px solid rgba(255, 255, 255, .3); }
.pd__facts li { display: flex; align-items: center; gap: 12px; padding: 12px 2px; border-block-end: 1px solid rgba(255, 255, 255, .3); font-size: 1rem; line-height: 1.5; }
.pd__facts li::before { content: ""; flex: none; inline-size: 6px; block-size: 6px; background: #fff; }
.pd__visual { justify-self: center; }
@media (hover: hover) { .pd .pd__ghost:hover { background: #fff; color: #00024c; } }

.pdcaps__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 16px); }
.pdcaps__grid li { --pp: clamp(20px, 2.2vw, 32px); gap: clamp(24px, 3vw, 44px); min-block-size: clamp(200px, 17vw, 250px); transition: background-color .3s var(--ease), translate .35s var(--ease); }
.pdcaps__grid b { display: grid; place-items: center; inline-size: 42px; block-size: 42px; border-radius: 28%; background: linear-gradient(180deg, var(--pc1), var(--pc2)); color: #fff; font-size: .95rem; font-weight: 500; }
.pdcaps__grid strong { display: block; font-size: clamp(1.2rem, 1rem + .6vw, 1.5rem); font-weight: var(--w-strong); line-height: 1.4; }
.pdcaps__grid span { display: block; margin-block-start: 8px; color: var(--fx-ink-2); font-size: 1rem; line-height: 1.7; }
@media (hover: hover) { .pdcaps__grid li:hover { background: var(--ptint); translate: 0 -4px; } }

.pdflow { padding: var(--sp) 7px 0; }
.pdflow__panel { padding: clamp(28px, 5vw, 84px) clamp(22px, 4.6vw, 66px); border-radius: clamp(24px, 2.8vw, 40px); background: var(--ptint); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pc) 14%, transparent); }
.pdflow__steps { --gap: clamp(14px, 2vw, 32px); display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: var(--gap); }
.pdflow__steps li { position: relative; display: grid; align-content: start; gap: 16px; }
.pdflow__steps b { position: relative; z-index: 1; display: grid; place-items: center; inline-size: 54px; block-size: 54px; border-radius: 50%; background: var(--pc); color: #fff; font-size: 1.05rem; font-weight: 500; }
.pdflow__steps li::before { content: ""; position: absolute; inset-block-start: 26px; inset-inline-start: 62px; inline-size: calc(100% - 70px + var(--gap)); block-size: 2px; background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--pc) 60%, transparent) 0 7px, transparent 7px 14px); }
.pdflow__steps li:last-child::before { display: none; }
.pdflow__steps strong { display: block; font-size: clamp(1.25rem, 1rem + .8vw, 1.7rem); font-weight: var(--w-strong); line-height: 1.35; }
.pdflow__steps span { display: block; margin-block-start: 8px; max-inline-size: 30ch; color: var(--fx-ink-2); font-size: 1rem; line-height: 1.7; }

.pdrel__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 16px); }
.pdrel__grid a { --pp: clamp(18px, 2vw, 28px); grid-template-rows: auto auto 1fr auto; align-content: stretch; gap: 12px; block-size: 100%; min-block-size: 250px; transition: background-color .3s var(--ease), translate .35s var(--ease); }
.pdrel__grid .picon { inline-size: 56px; block-size: 56px; }
.pdrel__grid strong { margin-block-start: 8px; font-size: 1.3rem; font-weight: var(--w-strong); line-height: 1.3; }
.pdrel__grid span { color: var(--fx-ink-2); font-size: 1rem; line-height: 1.65; }
.pdrel__grid em { display: inline-flex; align-items: center; gap: 6px; color: var(--pc-ink); font-size: .95rem; font-style: normal; font-weight: 500; }
:root:not([data-theme="light"]) .pdrel__grid em { color: #accbff; }
:root:not([data-theme="light"]) .pd--hydra .pdrel__grid em { color: #8fe3b7; }
.pdrel__grid em .i { inline-size: 14px; block-size: 14px; }
@media (hover: hover) { .pdrel__grid a:hover { background: var(--ptint); translate: 0 -4px; } }

@media (max-width: 1100px) {
  .pdcaps__grid, .pdrel__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .pd__hero { grid-template-columns: minmax(0, 1fr); gap: 8px; min-block-size: 0; padding: 26px var(--g) 30px; }
  .pd__title { max-inline-size: none; }
  .pd__facts li { padding: 10px 2px; }
  .pdcaps__grid, .pdrel__grid { grid-template-columns: minmax(0, 1fr); }
  .pdcaps__grid li, .pdrel__grid a { min-block-size: 0; }
  .pdflow__steps { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .pdflow__steps li { grid-template-columns: 54px minmax(0, 1fr); align-items: start; }
  .pdflow__steps li::before { inset-block-start: 58px; inset-inline-start: 26px; inline-size: 2px; block-size: calc(100% - 36px); background: repeating-linear-gradient(180deg, color-mix(in srgb, var(--pc) 60%, transparent) 0 7px, transparent 7px 14px); }
  .pdflow__steps div { padding-block-start: 10px; }
}
.pdrel { padding-block-end: var(--sp); }
html[dir="rtl"] .pdrel__grid strong { text-align: right; }

/* ==========================================================================
   Products follow the theme. Light: pale tints of the family colour with dark
   ink. Dark: soft navy and teal rather than full-strength blue and green.
   ========================================================================== */
.fxstep { --rule-on: rgba(255, 255, 255, .28); --chip-on: rgba(255, 255, 255, .15); }
.fxstep__group { background: var(--chip-on); }
.fxstep__facts { border-block-start-color: var(--rule-on); }
.fxstep__facts li { border-block-end-color: var(--rule-on); }
:root:not([data-theme="light"]) .fxstep { --chip-on: rgba(0, 2, 40, .26); }
:root:not([data-theme="light"]) .fxstep[data-group="re"] { --from1: #1230c4; --to1: #070d6c; --from2: #1a41de; --to2: #0a1688; }
:root:not([data-theme="light"]) .fxstep[data-group="hydra"] { --from1: #0a5a52; --to1: #05303f; --from2: #0d7361; --to2: #07464a; }
:root[data-theme="light"] .fxstep { --on: #00024c; --rule-on: rgba(0, 2, 76, .16); --chip-on: rgba(0, 77, 255, .1); box-shadow: 0 -1px 0 rgba(0, 77, 255, .12); filter: brightness(calc(1 - var(--cover, 0) * .03)); }
:root[data-theme="light"] .fxstep[data-group="re"] { --from1: #f4f7ff; --to1: #dfe9ff; --from2: #e6eeff; --to2: #c8d9ff; }
:root[data-theme="light"] .fxstep[data-group="hydra"] { --chip-on: rgba(0, 170, 83, .14); --from1: #f1faf5; --to1: #dff4e7; --from2: #e1f6ea; --to2: #c6ecd5; box-shadow: 0 -1px 0 rgba(0, 170, 83, .16); }
:root[data-theme="light"] .fxstep .fxbtn--white { background: #00024c; color: #fff; }
:root[data-theme="light"] .fxstep[data-group="re"] .iso { --edge: #0a1a8a; }
:root[data-theme="light"] .fxstep[data-group="hydra"] .iso { --edge: #06452f; }
:root[data-theme="light"] .fxskip__tabs { background-image: repeating-linear-gradient(180deg, rgba(0, 2, 76, .3) 0 1px, transparent 1px 8px); }
:root[data-theme="light"] .fxskip__jump { border-color: rgba(0, 2, 76, .16); background: rgba(255, 255, 255, .72); color: #00024c; }
@media (hover: hover) {
  :root[data-theme="light"] .fxskip__tabs a:not(.is-active):hover { color: #00024c; }
  :root[data-theme="light"] .fxskip__jump:hover { background: #00024c; color: #fff; }
}
@media (max-width: 860px) {
  :root[data-theme="light"] .fxskip__tabs { background-image: repeating-linear-gradient(180deg, rgba(0, 2, 76, .3) 0 1px, transparent 1px 6px); }
}
/* The name is sized from its own column, so it can never run into the icon beside it, in either language. */
@media (min-width: 861px) {
  .fxstep__body { container-type: inline-size; }
  .fxstep__name { font-size: clamp(2.2rem, 1rem + 5vw, 5.4rem); font-size: min(5.4rem, 13.2cqi); }
  .fxstep__name--long { font-size: clamp(2rem, 1rem + 3vw, 3.6rem); font-size: min(4rem, 9.8cqi); }
  .fxstep__visual { min-inline-size: 0; }
}
/* The button takes the family colour: blue for real estate, green for HYDRA. White on both passes AA. */
:root[data-theme="light"] .fxstep[data-group="re"] .fxbtn--white { background: #004dff; color: #fff; }
:root[data-theme="light"] .fxstep[data-group="hydra"] .fxbtn--white { background: #00824c; color: #fff; }
@media (hover: hover) {
  :root[data-theme="light"] .fxstep[data-group="re"] .fxbtn--white:hover { background: #002eba; }
  :root[data-theme="light"] .fxstep[data-group="hydra"] .fxbtn--white:hover { background: #005c44; }
}

/* ---------- Accessibility pass: touch targets of at least 24px, legal headings one level under the title ---------- */
.fxtop__menu { min-block-size: 34px; }
.fxtop__logo { padding-block: 8px; }
.fxhero__scroll { padding-block: 8px; }
.legal__body h2.legal__h { margin-block-start: 14px; font-size: 1.15rem; line-height: 1.4; }

/* ---------- The product ruler, refined: a fine spine, short marks, and the current product (with its two neighbours) reaching out ---------- */
.fxskip { --rk: rgba(255, 255, 255, .46); --rk-mid: rgba(255, 255, 255, .76); --rk-on: #fff; }
:root[data-theme="light"] .fxskip { --rk: #8589b4; --rk-mid: #55588e; --rk-on: #00024c; }
.fxskip__tabs a { color: var(--rk); }
.fxskip__tabs li:has(+ li a.is-active) a, .fxskip__tabs li:has(a.is-active) + li a { color: var(--rk-mid); }
.fxskip__tabs a.is-active { color: var(--rk-on); }
.fxskip__tabs a span { display: block; transform-origin: 0 50%; transition: scale .45s var(--ease); }
html[dir="ltr"] .fxskip__tabs a span { transform-origin: 100% 50%; }
@media (min-width: 861px) {
  .fxskip__tabs { left: clamp(12px, 1.4vw, 22px); border-left: 1px solid color-mix(in srgb, var(--rk-on) 30%, transparent); background-size: 5px 100%; }
  html[dir="ltr"] .fxskip__tabs { right: clamp(12px, 1.4vw, 22px); border-left: 0; border-right: 1px solid color-mix(in srgb, var(--rk-on) 30%, transparent); }
  .fxskip__tabs a { gap: 12px; block-size: 32px; font-size: .88rem; }
  .fxskip__tabs a::before { inline-size: 12px; block-size: 1px; }
  .fxskip__tabs li:has(+ li a.is-active) a::before, .fxskip__tabs li:has(a.is-active) + li a::before { inline-size: 22px; }
  .fxskip__tabs a.is-active::before { inline-size: 36px; block-size: 2px; border-radius: 2px; }
  .fxskip__tabs a.is-active span { scale: 1.16; }
  .fxskip__jump { inset-inline-end: clamp(12px, 1.4vw, 22px); }
}
@media (max-width: 860px) {
  .fxskip__tabs li:has(+ li a.is-active) a::before, .fxskip__tabs li:has(a.is-active) + li a::before { inline-size: 17px; }
}
@media (min-width: 861px) {
  /* the icon never grows wider than its own column, so it keeps clear of the ruler on narrow laptops */
  .fxstep .iso--lg { --iso: min(clamp(220px, 45svh, 450px), 34vw); }
}

/* ==========================================================================
   Keyboard, pointer and motion pass.
   ========================================================================== */
/* A focus ring that keeps 3:1 against whatever it sits on: deep orange on light surfaces, white on coloured and dark ones. */
:root { --ring: #ff8a1f; --hover-ink: #accbff; }
:root[data-theme="light"] { --ring: #d95f00; --hover-ink: #004dff; }
.fx :focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; }
.fx [data-tone="dark"], .fx .fxproof__grid li:first-child, .fx .il__team { --ring: #fff; }
:root:not([data-theme="light"]) .fxstep, :root:not([data-theme="light"]) .pd__hero { --ring: #fff; }
.fx .field input:focus, .fx .field select:focus, .fx .field textarea:focus { border-color: var(--c-blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-blue) 24%, transparent); }
/* every control answers the pointer */
.fxtop__logo, .fxhero__scroll, .fxfoot__legal a, .legal__body a, .fxacc summary { transition: opacity .2s var(--ease), color .2s var(--ease); }
@media (hover: hover) {
  .fxag__tab:hover { color: var(--fx-ink); }
  .fxtop__logo:hover { opacity: .7; }
  .fxhero__scroll:hover { color: var(--fx-ink); }
  .fxfoot__legal a:hover { color: var(--fx-ink); }
  .pd__crumb a:hover { text-decoration: underline; text-underline-offset: 4px; }
  .legal__body a:hover { color: var(--hover-ink); }
  .fxacc summary:hover { color: var(--hover-ink); }
}
.fxag__tab:active, .fxskip__tabs a:active, .fxskip__jump:active { scale: .97; }
/* with reduced motion nothing loops and nothing glides */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .fxag__glider, .fxskip__tabs a::before, .fxskip__tabs a span { transition: none !important; }
}

/* ==========================================================================
   The same light treatment on the inner pages: solution boards and product heroes.
   ========================================================================== */
.fxpanel--board[data-track="re"] { background: var(--tint-re); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c-blue) 12%, transparent); }
.fxpanel--board[data-track="hydra"] { background: var(--tint-hydra); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c-green) 16%, transparent); }
.fxpanel--board .fxboard { background: var(--board); color: var(--fx-ink); }
.fxpanel--board .fxdot::before { inline-size: 6px; block-size: 6px; border-radius: 50%; opacity: 1; background: var(--c-blue); }
.fxpanel--board[data-track="hydra"] .fxdot::before { background: var(--c-green); }

.pd { --ph1: #f4f7ff; --ph2: #d5e2ff; --pc-btn: #004dff; --pc-btn-h: #002eba; --pc-edge: #0a1a8a; }
.pd--hydra { --ph1: #f1faf5; --ph2: #cfeedb; --pc-btn: #00824c; --pc-btn-h: #005c44; --pc-edge: #06452f; }
:root:not([data-theme="light"]) .pd { --pc1: #0a1688; --pc2: #1230c4; }
:root:not([data-theme="light"]) .pd--hydra { --pc1: #05303f; --pc2: #0a5a52; }
:root[data-theme="light"] .pd__hero { background: radial-gradient(color-mix(in srgb, var(--pc) 5%, transparent) 1px, transparent 1.6px) 0 0 / 22px 22px, linear-gradient(160deg, var(--ph1), var(--ph2)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pc) 14%, transparent); color: #00024c; }
:root[data-theme="light"] .pd__lead { color: #33366f; }
:root[data-theme="light"] .pd__crumb { background: color-mix(in srgb, var(--pc) 12%, transparent); }
:root[data-theme="light"] .pd__facts { border-block-start-color: rgba(0, 2, 76, .16); }
:root[data-theme="light"] .pd__facts li { border-block-end-color: rgba(0, 2, 76, .16); }
:root[data-theme="light"] .pd__facts li::before { background: var(--pc-btn); }
:root[data-theme="light"] .pd .fxbtn--white { background: var(--pc-btn); color: #fff; }
:root[data-theme="light"] .pd .pd__ghost { color: #00024c; box-shadow: inset 0 0 0 1.5px rgba(0, 2, 76, .45); }
.pd__hero .iso { --edge: var(--pc-edge); }
@media (hover: hover) {
  :root[data-theme="light"] .pd .fxbtn--white:hover { background: var(--pc-btn-h); }
  :root[data-theme="light"] .pd .pd__ghost:hover { background: #00024c; color: #fff; }
}
/* the product hero is the first thing on its page: its icon does not wait for a scroll reveal */
.js .pd__hero .iso[data-reveal] { opacity: 1; translate: none; }
html[dir="ltr"] .pd__title { max-inline-size: 18ch; font-size: clamp(2rem, 1rem + 3.4vw, 4rem); }

/* ---------- The lifted icon: no light fringe ----------
   The icon image carries a one-pixel pale rim and rounder corners than the tile that used to frame it, so the page
   showed through at the corners and the rim read as a stray highlight. The tile is now a solid slab in the edge
   colour, and the image is trimmed just inside its own rim. */
.iso { --edge: #00105c; }
.iso__l--3 { border-radius: 24%; background: var(--edge); box-shadow: -1px 1px 0 var(--edge), -2px 2px 0 var(--edge), -3px 3px 0 var(--edge), -4px 4px 0 var(--edge), -5px 5px 0 var(--edge), -6px 6px 0 var(--edge), -7px 7px 0 var(--edge), -8px 8px 0 var(--edge); }
.iso__l--3 .picon { border-radius: 24%; box-shadow: none; clip-path: inset(1.4% round 23.5%); scale: 1.035; }
.iso__l--1, .iso__l--2 { border-radius: 24%; }

/* ---------- Intro film: the skip button is always white on the film, whatever the theme ---------- */
.intro__skip { border-color: rgba(255, 255, 255, .55); background: rgba(0, 2, 76, .28); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.intro { --ring: #fff; }

/* ==========================================================================
   Product stack, scrolling pass. As a card is covered its content fades away,
   so two products are never read on top of each other; the next card's content
   then rises in. Phones get a quieter rail: marks only, and a round skip button.
   ========================================================================== */
.fxstep__body { opacity: calc(1 - var(--cover, 0) * 1.8); }
.js .fxstep .iso[data-reveal] { opacity: calc(1 - var(--cover, 0) * 1.8); }
.fxfoot__col--pair > div + div { margin-block-start: 30px; }
@media (max-width: 860px) {
  /* the card is as tall as the screen with the browser bars hidden, so the next card never peeks in at rest */
  .fxstep { min-block-size: 100vh; min-block-size: 100lvh; }
  .fxskip__tabs { inset-block-end: 72px; }
  .fxskip__tabs a span { display: none; }
  .fxskip__tabs a::before { inline-size: 9px; }
  .fxskip__tabs li:has(+ li a.is-active) a::before, .fxskip__tabs li:has(a.is-active) + li a::before { inline-size: 14px; }
  .fxskip__tabs a.is-active::before { inline-size: 22px; }
  .fxskip__jump { inset-block-end: 16px; inset-inline-end: 12px; justify-content: center; inline-size: 44px; block-size: 44px; padding: 0; border-radius: 50%; }
  .fxskip__jump span { display: none; }
  .fxskip__jump .i { inline-size: 16px; block-size: 16px; }

  /* footer: solutions beside company, contact as one compact block */
  .fxfoot__top { gap: 26px 16px; }
  .fxfoot__closing { margin-block-end: 16px; font-size: 1.9rem; }
  .fxfoot__col h2 { margin-block-end: 8px; }
  .fxfoot__col li { line-height: 2; }
  .fxfoot__col--pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
  .fxfoot__col--pair > div + div { margin-block-start: 0; }
  .fxfoot__contact > ul:first-of-type { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 16px; }
  .fxfoot__contact .fxfoot__muted { grid-column: 1 / -1; max-inline-size: none; }
  .fxfoot__social { margin-block-start: 14px; }
  .fxfoot__legal { margin-block-start: 28px; padding-block: 16px; }
  .fxword { margin-block-start: 24px; }
}

/* ==========================================================================
   Version 2 (client edits, 2026-11-22). Appended after the sections pass.
   Hero without the ring (the brand phone stands in the middle), Engaz Agent
   as the second section with the product itself in a frame, each solution as
   a statement beside its product list, no scroll percentage in the top bar.
   Assembled into fx.css by `node tools/css.mjs`.
   ========================================================================== */
:root { --fam-re: #accbff; --fam-hydra: #8fe3b7; --shot-mat: rgba(255, 255, 255, .07); --shot-line: rgba(255, 255, 255, .16); --chip: rgba(255, 255, 255, .08); --chip-line: rgba(255, 255, 255, .16); --row-hover: rgba(255, 255, 255, .06); }
:root[data-theme="light"] { --fam-re: #004dff; --fam-hydra: #006b3c; --shot-mat: #e9f0ff; --shot-line: #cfdcfb; --chip: #edf4ff; --chip-line: #d3e1ff; --row-hover: rgba(0, 46, 186, .05); }

/* ---------- Top bar: language and theme only ---------- */
.fxtop__pill--tools { gap: 4px; }

/* ---------- A small label in a pill: an icon or a dot, then the words ---------- */
.fxchip { display: inline-flex; align-items: center; gap: 10px; min-block-size: 40px; padding-block: 5px; padding-inline: 6px 18px; border-radius: 999px; background: var(--chip); box-shadow: inset 0 0 0 1px var(--chip-line); color: var(--fx-ink); font-size: 1rem; line-height: 1.4; }
.fxchip .picon { flex: none; inline-size: 30px; block-size: 30px; border-radius: 28%; }
.fxchip--dot { padding-inline: 16px 18px; }
.fxchip--dot::before { content: ""; flex: none; inline-size: 8px; block-size: 8px; border-radius: 50%; background: var(--fam, var(--c-blue)); }

/* ---------- Hero (second pass): no device and no ring. The curtain of light that the intro opens with stays as the backdrop,
   and the statement stands on it, centred, with the three figures under it. Light theme keeps the soft blue light instead. ---------- */
.fxhero { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(30px, 6svh, 64px); padding: calc(var(--header-h) + 12svh) var(--g) clamp(64px, 9svh, 96px); text-align: center; }
.fxhero__bg { position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(0, 2, 76, .84) 0%, rgba(0, 2, 76, .3) 20%, rgba(0, 2, 76, 0) 52%, var(--fx-bg) 100%), url("../img/bg-dark-02.jpg") 50% 0 / cover no-repeat; transform-origin: 50% 0; scale: calc(1.03 + var(--p, 0) * .1); opacity: calc(1 - var(--p, 0) * .45); }
:root[data-theme="light"] .fxhero__bg { display: none; }
:root:not([data-theme="light"]) .fxhero::before { display: none; }
.js .fxhero__bg { animation: fxcurtain 1.6s var(--ease) both; }
@keyframes fxcurtain { from { opacity: 0; scale: 1.14; } }
html.intro-on .fxhero__bg { animation-play-state: paused; }
.fxhero__text { justify-items: center; gap: clamp(16px, 2.2vw, 28px); max-inline-size: none; }
.fxhero__title { max-inline-size: 18ch; font-size: clamp(2.6rem, 1rem + 5.4vw, 6rem); }
.fxhero__lead { max-inline-size: 58ch; font-size: var(--fs-lead); }
:root:not([data-theme="light"]) .fxhero__lead { color: #dfe6ff; }
.fxhero__actions { justify-content: center; }
.fxhero__stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: center; justify-self: auto; gap: 0; inline-size: auto; border: 0; }
.fxhero__stats > div { padding: 0 clamp(22px, 4vw, 64px); border: 0; border-inline-start: 1px solid var(--fx-line); text-align: center; }
.fxhero__stats > div:first-child { border-inline-start: 0; }
.fxhero__stats dt { align-items: center; gap: 8px; }
.fxhero__stats b { font-size: clamp(2.2rem, 1rem + 2.8vw, 3.6rem); }
@keyframes fxbob { 50% { transform: translateY(-10px); } }

/* ---------- Engaz Agent: one statement, one button, then the product ---------- */
.fxagent { position: relative; isolation: isolate; overflow-x: clip; display: grid; justify-items: center; gap: var(--sp-s); padding: var(--sp) var(--g) 0; }
.fxagent::before { content: ""; position: absolute; z-index: -1; inset: 30% 6% -4%; background: radial-gradient(50% 56% at 50% 58%, var(--glow-1), transparent 72%); opacity: .55; pointer-events: none; }
.fxagent__head { display: grid; justify-items: center; gap: clamp(14px, 1.7vw, 24px); text-align: center; }
.fxagent__head .fxgiant { max-inline-size: 21ch; font-size: clamp(1.9rem, 1rem + 3vw, 3.7rem); }
.fxagent__head .fxsec__lead { max-inline-size: 60ch; margin: 0; }
.fxagent__head .fxbtn { background: var(--c-blue); color: #fff; }
.fxagent__head .fxbtn .i { inline-size: 15px; block-size: 15px; }
.fxshot { --r: 1; position: relative; inline-size: min(100%, 1180px); margin: 0; padding: clamp(5px, .7vw, 9px); border-radius: clamp(14px, 1.9vw, 28px); background: var(--shot-mat); box-shadow: inset 0 0 0 1px var(--shot-line); transform-origin: 50% 100%; transform: perspective(1500px) rotateX(calc((1 - var(--r)) * 16deg)) scale(calc(.93 + var(--r) * .07)); will-change: transform; }
.fxshot__bar { display: flex; align-items: center; gap: 6px; block-size: clamp(26px, 2.6vw, 36px); padding-inline: clamp(8px, 1vw, 14px); direction: ltr; }
.fxshot__bar i { inline-size: 8px; block-size: 8px; border-radius: 50%; background: var(--shot-line); }
.fxshot__bar span { margin-inline: auto; padding: 2px 14px; border-radius: 999px; color: var(--fx-ink-2); font-size: .82rem; line-height: 1.5; translate: -19px 0; }
.fxshot picture { display: block; }
.fxshot__img { display: block; inline-size: 100%; block-size: auto; border-radius: clamp(9px, 1.3vw, 20px); background: #fff; }
.fxshot__float { position: absolute; block-size: auto; border-radius: clamp(8px, 1vw, 16px); background: #fff; box-shadow: 0 0 0 1px rgba(0, 20, 110, .14), 0 26px 44px -22px rgba(0, 10, 80, .6); animation: fxbob 8s ease-in-out infinite; }
.fxshot__float--next { left: -4.5%; bottom: 8%; inline-size: 22%; translate: 0 calc((1 - var(--r)) * 110px); }
.fxshot__float--live { right: -3.5%; top: 15%; inline-size: 20%; translate: 0 calc((1 - var(--r)) * -70px); animation-duration: 9.5s; animation-delay: -3s; }
@media (hover: hover) { .fxagent__head .fxbtn:hover { background: #002eba; } }

/* ---------- A solution: the statement on one side, its products as a list on the other ---------- */
.fxsol { --fam: var(--c-blue); --fam-ink: var(--fam-re); --fam-deep: #002eba; --tint: var(--tint-re); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, min(46%, 580px)); align-items: center; gap: clamp(28px, 6vw, 120px); padding: var(--sp) var(--g) 0; }
.fxsol[data-track="hydra"] { --fam: #00824c; --fam-ink: var(--fam-hydra); --fam-deep: #005c44; --tint: var(--tint-hydra); }
.fxsol--flip { grid-template-columns: minmax(0, min(46%, 580px)) minmax(0, 1fr); }
.fxsol--flip .fxsol__text { order: 2; justify-self: end; }
.fxsol__text { display: grid; justify-items: start; gap: clamp(14px, 1.8vw, 24px); }
.fxsol__text .fxgiant { max-inline-size: 17ch; font-size: clamp(1.9rem, 1rem + 3vw, 3.7rem); }
.fxsol__text .fxsec__lead { max-inline-size: 46ch; margin: 0; }
.fxsol .fxbtn { background: var(--fam); color: #fff; }
.fxsol .fxbtn .i { inline-size: 15px; block-size: 15px; transition: translate .25s var(--ease); }
.fxsol__list { padding: clamp(10px, 1.2vw, 16px); border-radius: clamp(20px, 2.3vw, 34px); background: var(--tint); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fam) 16%, transparent); }
.fxsol__h { padding: clamp(6px, .8vw, 10px) 12px clamp(12px, 1.2vw, 16px); color: var(--fx-ink); font-size: 1.05rem; font-weight: var(--w-strong); line-height: 1.4; }
.fxsol__list ul { display: grid; padding: 4px; border-radius: clamp(14px, 1.6vw, 22px); background: var(--board); }
.fxsol__list li + li { border-block-start: 1px solid var(--fx-line); }
.fxrow { display: flex; align-items: center; gap: clamp(10px, 1.2vw, 16px); padding: clamp(9px, .9vw, 12px) clamp(8px, 1vw, 14px); border-radius: 12px; transition: background-color .25s var(--ease); }
.fxrow .picon { flex: none; inline-size: clamp(42px, 3.4vw, 50px); block-size: auto; aspect-ratio: 1; border-radius: 26%; }
.fxrow__text { flex: 1; min-inline-size: 0; display: grid; gap: 1px; }
.fxrow__name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.fxrow__name strong { font-size: 1.1rem; font-weight: var(--w-strong); line-height: 1.4; }
.fxsoon { color: var(--fam-ink); font-size: .9rem; font-style: normal; font-weight: 500; line-height: 1.4; }
.fxsoon::before { content: "("; }
.fxsoon::after { content: ")"; }
.fxrow__line { color: var(--fx-ink-2); font-size: .96rem; line-height: 1.6; }
.fxrow .i-chev { flex: none; inline-size: 16px; block-size: 16px; color: var(--fx-dim); rotate: 90deg; transition: translate .25s var(--ease), color .25s var(--ease); }
[dir="ltr"] .fxrow .i-chev { rotate: -90deg; }
.fxsol__all { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-block-size: 48px; padding: 8px 14px 2px; color: var(--fam-ink); font-size: 1rem; font-weight: var(--w-strong); line-height: 1.4; }
.fxsol__all .i { inline-size: 15px; block-size: 15px; transition: translate .25s var(--ease); }
@media (hover: hover) {
  .fxrow:hover { background: var(--row-hover); }
  .fxrow:hover .i-chev { color: var(--fam-ink); translate: -3px 0; }
  [dir="ltr"] .fxrow:hover .i-chev { translate: 3px 0; }
  .fxsol .fxbtn:hover { background: var(--fam-deep); }
  .fxsol .fxbtn:hover .i, .fxsol__all:hover .i { translate: -3px 0; }
  [dir="ltr"] .fxsol .fxbtn:hover .i, [dir="ltr"] .fxsol__all:hover .i { translate: 3px 0; }
}
/* the logo strip keeps its distance from the solution above it */
.fxsol + .fxtrust { margin-block-start: var(--sp); }

/* ---------- Product cards: no solution label; only "soon" where it applies ---------- */
.fxstep__head { min-block-size: 32px; }

/* ---------- Smaller screens ---------- */
@media (max-width: 1280px) {
  .fxshot__float--next { left: -1%; }
  .fxshot__float--live { right: -1%; }
}
@media (max-width: 700px) {
  .fxshot__float { display: none; }
}
@media (max-width: 860px) {
  .fxhero { min-block-size: 100vh; min-block-size: 100svh; gap: 34px; padding: calc(var(--header-h) + 8svh) var(--g) 40px; }
  .fxhero__text { margin-block-start: 0; }
  .fxhero__title { font-size: clamp(2.3rem, 10.6vw, 3.4rem); }
  .fxhero__lead { font-size: 1rem; }
  .fxhero__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); inline-size: 100%; margin-block-start: 0; }
  .fxhero__stats > div { padding: 0 6px; }
  .fxhero__stats b { font-size: 1.8rem; }
  .fxhero__stats dt span { font-size: .95rem; }
  .fxhero__stats dd { font-size: .84rem; }
  .fxagent__head .fxgiant, .fxsol__text .fxgiant { max-inline-size: none; font-size: clamp(1.7rem, 7.4vw, 2.5rem); }
  .fxagent__head .fxsec__lead, .fxsol__text .fxsec__lead { font-size: 1rem; line-height: 1.75; }
  .fxshot { transform-origin: 50% 60%; }
  .fxshot__bar span { translate: -15px 0; }
  .fxsol { grid-template-columns: minmax(0, 1fr); gap: var(--sp-s); }
  .fxsol--flip .fxsol__text { order: 0; }
  .fxrow .picon { inline-size: 42px; }
  .fxrow__name strong { font-size: 1.04rem; }
}
@media (prefers-reduced-motion: reduce) {
  .js .fxhero__bg, .fxshot__float { animation: none; }
  .fxhero__bg { scale: 1; opacity: 1; }
  .fxshot { transform: none; }
  .fxshot__float { translate: none; }
  .fxrow, .fxrow .i-chev, .fxsol .fxbtn .i, .fxsol__all .i { transition: none; }
}

/* ---------- Solutions, second pass: each one a pale panel in its family colour, an even split, larger rows that come in one after another ---------- */
.fxsol, .fxsol--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 96px); margin: var(--sp) 7px 0; padding: clamp(28px, 5vw, 84px) clamp(18px, 4.4vw, 64px); border-radius: clamp(24px, 2.8vw, 40px); background: var(--tint); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fam) 14%, transparent); }
.fxsol + .fxsol { margin-block-start: clamp(8px, 1vw, 14px); }
.fxsol--flip .fxsol__text { justify-self: start; }
.fxsol__text .fxgiant { max-inline-size: 15ch; font-size: clamp(2rem, 1rem + 3.3vw, 4.1rem); }
.fxsol__list { padding: 0; border-radius: 0; background: none; box-shadow: none; }
.fxsol__h { padding: 0 6px clamp(12px, 1.4vw, 18px); color: var(--fx-ink-2); }
.fxsol__list ul { padding: clamp(6px, .7vw, 10px); border-radius: clamp(18px, 2vw, 28px); background: var(--board); }
.fxrow { gap: clamp(12px, 1.4vw, 20px); padding: clamp(12px, 1.1vw, 16px) clamp(10px, 1.2vw, 18px); border-radius: clamp(12px, 1.2vw, 18px); }
.fxrow .picon { inline-size: clamp(46px, 3.9vw, 58px); }
.fxrow__name strong { font-size: clamp(1.12rem, 1rem + .45vw, 1.35rem); }
.fxrow__line { font-size: 1rem; }
.fxsol__all { padding: clamp(14px, 1.4vw, 20px) 8px 0; }
.js .fxsol [data-reveal-group] li { translate: 0 18px; transition-duration: .6s; transition-delay: calc(var(--i) * 70ms); }
.js .fxsol [data-reveal-group].is-in li { translate: 0 0; }
@media (max-width: 860px) {
  .fxsol, .fxsol--flip { grid-template-columns: minmax(0, 1fr); gap: var(--sp-s); padding: 28px 14px 22px; }
  .fxsol__text { padding-inline: 4px; }
  .fxsol__text .fxgiant { max-inline-size: none; font-size: clamp(1.7rem, 7.4vw, 2.5rem); }
  .fxrow .picon { inline-size: 44px; }
}

/* ---------- Engaz Agent, live (third pass): the product's own demo in Engaz colours. Two panes on a pale family panel:
   the conversation on one side, the lead file with its score, fields and stage on the other. No frame, no screenshot. ---------- */
:root { --agx-c: rgba(255, 255, 255, .09); --hot-ink: #ffb26b; }
:root[data-theme="light"] { --agx-c: #eef2fb; --hot-ink: #b24400; }
.agx { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(8px, 1vw, 14px); inline-size: min(100%, 1140px); padding: clamp(8px, 1vw, 14px); border-radius: clamp(22px, 2.6vw, 38px); background: var(--tint-re); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c-blue) 18%, transparent); text-align: start; }
.agx__pane { display: grid; align-content: start; gap: clamp(12px, 1.3vw, 18px); min-inline-size: 0; padding: clamp(16px, 1.9vw, 28px); border-radius: clamp(16px, 1.9vw, 26px); background: var(--board); }
.agx__head { display: flex; align-items: center; gap: 12px; padding-block-end: clamp(12px, 1.3vw, 18px); border-block-end: 1px solid var(--fx-line); }
.agx__head .picon { flex: none; inline-size: 44px; block-size: 44px; border-radius: 26%; }
.agx__head p { display: grid; gap: 1px; min-inline-size: 0; }
.agx__head strong { font-size: 1.1rem; font-weight: var(--w-strong); line-height: 1.4; }
.agx__head p span { color: var(--fx-ink-2); font-size: .94rem; line-height: 1.4; }
.agx__on { display: inline-flex; align-items: center; gap: 8px; margin-inline-start: auto; padding: 5px 12px; border-radius: 999px; background: color-mix(in srgb, var(--c-green) 16%, transparent); color: var(--ok); font-size: .9rem; font-style: normal; line-height: 1.4; white-space: nowrap; }
:root[data-theme="light"] .agx__on { color: #005c36; }
.agx__on::before { content: ""; inline-size: 7px; block-size: 7px; border-radius: 50%; background: currentColor; animation: agxpulse 1.8s ease-in-out infinite; }
@keyframes agxpulse { 50% { opacity: .35; } }
.agx__chat { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; block-size: clamp(320px, 40svh, 420px); overflow: hidden; }
.agx__msg { max-inline-size: 84%; padding: 11px 16px; border-radius: 18px; font-size: 1.02rem; line-height: 1.65; }
.agx__msg--c { align-self: flex-start; border-end-start-radius: 5px; background: var(--agx-c); color: var(--fx-ink); }
.agx__msg--a { align-self: flex-end; border-end-end-radius: 5px; background: var(--c-blue); color: #fff; }
.agx.is-live .agx__msg:not(.is-on) { display: none; }
.agx.is-live .agx__msg.is-on { animation: ilin .45s var(--ease) both; }
.agx__typing { display: none; align-self: flex-end; gap: 5px; padding: 15px 16px; border-radius: 18px; border-end-end-radius: 5px; background: var(--c-blue); }
.agx__typing.is-on { display: inline-flex; }
.agx__typing i { inline-size: 6px; block-size: 6px; border-radius: 50%; background: #fff; animation: ildot 1.2s ease-in-out infinite; }
.agx__typing i:nth-child(2) { animation-delay: .15s; }
.agx__typing i:nth-child(3) { animation-delay: .3s; }
.agx__lead h3 { font-size: 1.18rem; font-weight: var(--w-strong); line-height: 1.4; }
.agx__lead p { margin-block-start: 4px; color: var(--fx-ink-2); font-size: .96rem; line-height: 1.6; }
.agx__score { display: grid; gap: 10px; padding: 14px 16px; border-radius: 16px; background: var(--agx-c); }
.agx__score p { display: flex; align-items: center; gap: 10px; font-size: 1rem; line-height: 1.3; }
.agx__score b { margin-inline-start: auto; color: var(--fam-re); font-size: 1.9rem; font-weight: 500; line-height: 1; letter-spacing: -.02em; }
.agx__score small { color: var(--fx-ink-2); font-size: .5em; font-weight: 400; }
.agx__hot { display: none; padding: 3px 10px; border-radius: 999px; background: color-mix(in srgb, var(--c-orange) 18%, transparent); color: var(--hot-ink); font-size: .86rem; font-style: normal; white-space: nowrap; }
.agx.is-hot .agx__hot { display: inline-flex; animation: ilpop .45s var(--ease) both; }
.agx.is-hot .agx__score b { color: var(--hot-ink); }
.agx__bar { block-size: 8px; border-radius: 99px; background: var(--fx-line); overflow: hidden; }
.agx__bar i { display: block; inline-size: calc(var(--score, 86) * 1%); block-size: 100%; border-radius: inherit; background: var(--c-blue); transition: inline-size .7s var(--ease), background-color .4s var(--ease); }
.agx.is-hot .agx__bar i { background: var(--c-orange); }
.agx__fields div { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding-block: 11px; border-block-end: 1px solid var(--fx-line); font-size: 1rem; line-height: 1.5; }
.agx__fields div:first-child { padding-block-start: 0; }
.agx__fields dt { color: var(--fx-ink-2); }
.agx__fields dd { font-weight: var(--w-strong); text-align: end; }
.agx__pend { display: none; color: var(--fx-ink-2); font-weight: 400; }
.agx.is-live .agx__fields div:not(.is-on) .agx__val { display: none; }
.agx.is-live .agx__fields div:not(.is-on) .agx__pend { display: inline; }
.agx.is-live .agx__fields div.is-on .agx__val { display: inline-block; animation: agxfill 1s var(--ease) both; }
@keyframes agxfill { from { opacity: 0; translate: 0 6px; color: var(--fam-re); } }
@media (max-width: 860px) {
  .agx { grid-template-columns: minmax(0, 1fr); }
  .agx__chat { block-size: 320px; }
  .agx__msg { max-inline-size: 90%; font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) { .agx__on::before, .agx__typing i { animation: none; } .agx__bar i { transition: none; } }

/* ---------- Solutions, third pass: every product is a card of its own (official icon, name, one line), two across ---------- */
.fxsol__list ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(8px, .9vw, 12px); padding: 0; border-radius: 0; background: none; }
.fxsol__list li + li { border: 0; }
.fxsol__list li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.fxrow { position: relative; flex-direction: column; align-items: flex-start; gap: clamp(14px, 1.7vw, 24px); block-size: 100%; padding: clamp(16px, 1.7vw, 24px); border-radius: clamp(16px, 1.8vw, 24px); background: var(--board); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fam) 10%, transparent); transition: background-color .25s var(--ease), box-shadow .25s var(--ease), translate .35s var(--ease); }
.fxrow .picon { inline-size: clamp(50px, 4.4vw, 64px); transition: translate .35s var(--ease); }
.fxrow__text { flex: none; inline-size: 100%; gap: 4px; }
.fxrow .i-chev { position: absolute; inset-block-start: clamp(18px, 1.9vw, 26px); inset-inline-end: clamp(16px, 1.7vw, 24px); }
.fxsol__list li:last-child:nth-child(odd) .fxrow { flex-direction: row; align-items: center; }
.fxsol__list li:last-child:nth-child(odd) .fxrow__text { flex: 1; inline-size: auto; }
.fxsol__list li:last-child:nth-child(odd) .fxrow .i-chev { position: static; }
.fxsol__all { justify-content: flex-start; gap: 10px; padding: clamp(16px, 1.6vw, 22px) 6px 0; }
@media (hover: hover) {
  .fxrow:hover { background: var(--board); box-shadow: inset 0 0 0 1.5px var(--fam); translate: 0 -3px; }
  .fxrow:hover .picon { translate: 0 -2px; }
}
@media (max-width: 860px) {
  .fxsol__list ul { grid-template-columns: minmax(0, 1fr); }
  .fxrow, .fxsol__list li:last-child:nth-child(odd) .fxrow { flex-direction: row; align-items: center; gap: 12px; padding: 12px 14px; }
  .fxrow__text { flex: 1; inline-size: auto; }
  .fxrow .i-chev { position: static; }
}
@media (prefers-reduced-motion: reduce) { .fxrow, .fxrow .picon { transition: none; } }

/* ==========================================================================
   About page (third design, 2026-11-23).
   Opening: the statement centred over the brand light, the three figures in
   one glass band. Journey and vision share one section. Then how Engaz
   thinks (four cards) and, near the end of the page, the questions with their
   title held on one side.
   ========================================================================== */
:root { --j-line: #2a2f7c; --think-hover: #0d1485; }
:root[data-theme="light"] { --j-line: #c9cfe6; --think-hover: #e9f0ff; }

.fxabh { position: relative; isolation: isolate; display: grid; align-content: center; justify-items: center; gap: clamp(16px, 2.2vw, 28px); min-block-size: 100vh; min-block-size: 100svh; padding: calc(var(--header-h) + 6svh) var(--g) var(--sp-s); overflow: hidden; text-align: center; }
.fxabh__bg { position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(0, 2, 76, .84) 0%, rgba(0, 2, 76, .3) 22%, rgba(0, 2, 76, 0) 52%, var(--fx-bg) 100%), url("../img/bg-dark-02.jpg") 50% 0 / cover no-repeat; }
:root[data-theme="light"] .fxabh__bg { background: radial-gradient(44% 46% at 50% 30%, var(--glow-1), transparent 72%); }
.js .fxabh__bg { animation: fxcurtain 1.6s var(--ease) both; }
.fxabh .fxkick { margin: 0; }
:root:not([data-theme="light"]) .fxabh .fxkick, :root:not([data-theme="light"]) .fxabh .fxsec__lead, :root:not([data-theme="light"]) .fxabh__stats dd { color: #dfe6ff; }
.fxabh .fxgiant { max-inline-size: 19ch; font-size: clamp(2.5rem, 1rem + 4.7vw, 5.6rem); }
.fxabh .fxsec__lead { max-inline-size: 64ch; margin: 0; }
.fxabh__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); inline-size: min(100%, 1040px); margin-block-start: clamp(14px, 2.6vw, 40px); border-radius: clamp(22px, 2.6vw, 36px); background: var(--ct-card); box-shadow: inset 0 0 0 1px var(--ct-edge), inset 0 1px 0 rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(24px) saturate(150%); backdrop-filter: blur(24px) saturate(150%); }
.fxabh__stats > div { display: grid; justify-items: center; gap: 8px; padding: clamp(20px, 2.6vw, 38px) clamp(12px, 2vw, 28px); }
.fxabh__stats > div + div { border-inline-start: 1px solid var(--ct-edge); }
.fxabh__stats b { display: block; font-size: clamp(2.6rem, 1rem + 4.2vw, 5rem); line-height: 1; font-weight: 300; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.fxabh__stats dd { color: var(--fx-ink-2); font-size: clamp(1rem, .95rem + .3vw, 1.2rem); line-height: 1.5; }
.js .fxabh__stats { animation: fxup 1s var(--ease) .5s both; }

/* journey and vision, one section of two equal panels: the three milestones down a rail that draws itself,
   the vision on brand blue with slow orbits behind it */
:root { --jv-panel: #0a1078; --jv-edge: rgba(165, 190, 255, .24); --jv-text: #dfe6ff; --jv-rail: rgba(172, 203, 255, .4); --jv-node: #6ca0ff; }
:root[data-theme="light"] { --jv-panel: #f3f7ff; --jv-edge: #d3e1ff; --jv-text: #3b3e74; --jv-rail: #bccffa; --jv-node: #004dff; }
.fxjv { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; gap: clamp(10px, 1.2vw, 16px); }
.fxjv .fxkick { margin: 0; }
.fxjv__journey, .fxjv__vision { display: grid; gap: clamp(26px, 3.2vw, 48px); min-block-size: clamp(420px, 35vw, 520px); padding: clamp(24px, 3.2vw, 52px); border-radius: clamp(24px, 2.8vw, 40px); }
.fxjv__journey { grid-template-rows: auto 1fr; background: var(--jv-panel); box-shadow: inset 0 0 0 1px var(--jv-edge); }
.fxjv__journey .fxkick { color: var(--jv-text); }
.fxjv__line { --rail: clamp(30px, 3vw, 44px); display: grid; grid-template-columns: max-content minmax(0, 1fr); grid-auto-rows: 1fr; column-gap: clamp(18px, 2.4vw, 40px); padding-inline-start: var(--rail); }
.fxjv__line li { --ny: 50%; position: relative; grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: center; padding-block: clamp(10px, 1.2vw, 16px); }
.fxjv__line li::before { content: ""; position: absolute; inset-block-start: var(--ny); inset-inline-start: calc(6px - var(--rail)); inline-size: 2px; block-size: 100%; border-radius: 2px; background: var(--jv-rail); transform-origin: 50% 0; }
.fxjv__line li:last-child::before { content: none; }
.fxjv__line li i { position: absolute; z-index: 1; inset-block-start: var(--ny); inset-inline-start: calc(-1 * var(--rail)); inline-size: 14px; block-size: 14px; margin-block-start: -7px; border-radius: 50%; background: var(--jv-node); box-shadow: 0 0 0 5px color-mix(in srgb, var(--jv-node) 26%, transparent); transition: scale .45s cubic-bezier(.3, 1.4, .5, 1); }
.fxjv__line li:last-child i::after { content: ""; position: absolute; inset: -5px; border: 1.5px solid var(--jv-node); border-radius: 50%; animation: jvpulse 2.6s ease-out infinite; }
.fxjv__line b { justify-self: start; color: var(--fx-ink); font-size: clamp(2rem, 1rem + 2.2vw, 3.1rem); line-height: 1.1; font-weight: 400; letter-spacing: -.02em; white-space: nowrap; transition: color .3s var(--ease); }
.fxjv__line span { max-inline-size: 30ch; color: var(--jv-text); font-size: var(--fs-lead); line-height: 1.65; }
.js .fxjv__line li { translate: 0 18px; transition: opacity .7s var(--ease), translate .7s var(--ease); transition-delay: calc(var(--i) * 70ms); }
.js .fxjv__line.is-in li { translate: 0 0; }
.js .fxjv__line li::before { scale: 1 0; transition: scale .9s var(--ease); transition-delay: calc(var(--i) * 70ms + .3s); }
.js .fxjv__line.is-in li::before { scale: 1 1; }
@media (hover: hover) { .fxjv__line li:hover i { scale: 1.3; } .fxjv__line li:hover b { color: var(--jv-node); } }
.fxjv__vision { --fx-ink: #fff; --fx-ink-2: #fff; position: relative; isolation: isolate; align-content: space-between; overflow: hidden; background: linear-gradient(160deg, #1c5cff 0%, #004dff 46%, #0034d1 100%); color: #fff; }
.fxjv__vision .fxkick { color: #fff; }
.fxjv__vision h2 { max-inline-size: 19ch; font-size: clamp(1.8rem, 1rem + 2.3vw, 3.2rem); line-height: 1.38; font-weight: 400; letter-spacing: var(--fx-track); }
html[lang="en"] .fxjv__vision h2 { max-inline-size: 22ch; line-height: 1.2; }
.fxjv__orbit { position: absolute; z-index: -1; inset-block-start: clamp(-190px, -14vw, -120px); inset-inline-end: clamp(-130px, -8vw, -70px); inline-size: clamp(300px, 30vw, 430px); aspect-ratio: 1; -webkit-mask-image: linear-gradient(180deg, #000 44%, transparent 86%); mask-image: linear-gradient(180deg, #000 44%, transparent 86%); }
.fxjv__orbit i { --k: 0; position: absolute; inset: calc(var(--k) * 16%); border: 1px solid rgba(255, 255, 255, .34); border-radius: 50%; animation: jvspin calc(40s + var(--k) * 16s) linear infinite; animation-delay: -9s; }
.fxjv__orbit i:nth-child(2) { --k: 1; animation-direction: reverse; animation-delay: -24s; }
.fxjv__orbit i:nth-child(3) { --k: 2; animation-delay: -37s; }
.fxjv__orbit i::before { content: ""; position: absolute; inset-block-end: -5px; inset-inline-start: calc(50% - 5px); inline-size: 9px; block-size: 9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(255, 255, 255, .2); }
@keyframes jvspin { to { rotate: 360deg; } }
@keyframes jvpulse { from { opacity: .9; scale: .7; } to { opacity: 0; scale: 2; } }

/* the goal: the figure beside a growth line that runs from today's users to the million, then the four moves as icon cards */
:root { --nx-panel: #0a1078; --nx-line: #6ca0ff; --nx-glint: #fff; --nx-chip: #1a2496; }
:root[data-theme="light"] { --nx-panel: #eef4ff; --nx-line: #004dff; --nx-glint: #b9d0ff; --nx-chip: #fff; }
.fxnx__goal { position: relative; isolation: isolate; display: grid; align-content: end; justify-items: start; gap: 8px; min-block-size: clamp(270px, 26vw, 380px); padding: clamp(24px, 3.2vw, 52px); overflow: hidden; border-radius: clamp(24px, 2.8vw, 40px); background: var(--nx-panel); box-shadow: inset 0 0 0 1px var(--jv-edge); }
.fxnx__chart { position: absolute; z-index: -1; inset-block: clamp(52px, 5vw, 76px) clamp(26px, 3.2vw, 52px); inset-inline-end: clamp(30px, 4vw, 68px); inline-size: 38%; color: var(--nx-line); }
.fxnx__chart svg { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; overflow: visible; }
.fxnx__plot { -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 26%); mask-image: linear-gradient(90deg, transparent 0%, #000 26%); }
.fxnx__rule { fill: none; stroke: var(--jv-edge); stroke-width: 1; vector-effect: non-scaling-stroke; }
.fxnx__curve { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.fxnx__glint { color: var(--nx-glint); -webkit-mask: linear-gradient(90deg, transparent 43%, #000 50%, transparent 57%) 100% 0 / 400% 100% no-repeat; mask: linear-gradient(90deg, transparent 43%, #000 50%, transparent 57%) 100% 0 / 400% 100% no-repeat; animation: nxsweep 4.8s cubic-bezier(.5, 0, .3, 1) 2s infinite; }
.fxnx__node { --x: 26%; --y: 80%; position: absolute; inset-block-start: var(--y); left: var(--x); inline-size: 14px; block-size: 14px; margin: -7px; border-radius: 50%; background: var(--nx-line); box-shadow: 0 0 0 5px color-mix(in srgb, var(--nx-line) 26%, transparent); }
.fxnx__node b { position: absolute; inset-block-end: calc(100% + 13px); left: 50%; translate: -50% 0; padding: 3px 13px; border-radius: 99px; background: var(--nx-chip); box-shadow: inset 0 0 0 1px var(--jv-edge); color: var(--fx-ink); font-size: .95rem; font-weight: 500; line-height: 1.5; white-space: nowrap; }
.fxnx__node--goal { --x: 94%; --y: 10%; inline-size: 18px; block-size: 18px; margin: -9px; }
.fxnx__node--goal b { background: var(--c-blue); box-shadow: none; color: #fff; font-size: 1.05rem; }
.fxnx__node--goal::after { content: ""; position: absolute; inset: -5px; border: 1.5px solid var(--nx-line); border-radius: 50%; animation: jvpulse 2.6s ease-out infinite; }
.js .fxnx__goal[data-reveal] .fxnx__plot { clip-path: inset(-14% 100% -14% -6%); transition: clip-path 1.7s var(--ease) .25s; }
.js .fxnx__goal[data-reveal].is-in .fxnx__plot { clip-path: inset(-14% -8% -14% -6%); }
.js .fxnx__goal[data-reveal] .fxnx__node { scale: 0; transition: scale .6s cubic-bezier(.3, 1.4, .5, 1) .7s; }
.js .fxnx__goal[data-reveal] .fxnx__node--goal { transition-delay: 1.7s; }
.js .fxnx__goal[data-reveal].is-in .fxnx__node { scale: 1; }
.js .fxnx__goal[data-reveal] .fxnx__glint { opacity: 0; transition: opacity .4s 2s; }
.js .fxnx__goal[data-reveal].is-in .fxnx__glint { opacity: 1; }
.fxnx__fig { max-inline-size: 56%; font-size: clamp(2.6rem, 1rem + 4.2vw, 4.8rem); line-height: var(--fx-lh); font-weight: 400; letter-spacing: var(--fx-track); }
html[lang="ar"] .fxnx__fig { line-height: 1.25; }
.fxnx__txt { max-inline-size: min(46ch, 56%); color: var(--jv-text); font-size: var(--fs-lead); line-height: 1.7; }
.js .fxnx__goal[data-reveal] { translate: 0 22px; transition: opacity .8s var(--ease), translate .8s var(--ease); }
.js .fxnx__goal[data-reveal].is-in { translate: 0 0; }
.fxnx__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 16px); margin-block-start: clamp(10px, 1.2vw, 16px); }
.fxnx__grid li { display: grid; align-content: start; gap: 10px; padding: clamp(20px, 2.2vw, 32px); border-radius: clamp(20px, 2.2vw, 30px); background: var(--fx-panel); }
.js .fxnx__grid li { opacity: 0; translate: none; transition: background-color .35s var(--ease), translate .5s cubic-bezier(.2, .8, .2, 1); transition-delay: 0s; }
.js .fxnx__grid.is-in li { opacity: 1; animation: fxup .75s var(--ease) calc(var(--i) * 55ms) backwards; }
.fxnx__ic { display: grid; place-items: center; inline-size: clamp(48px, 4vw, 58px); aspect-ratio: 1; margin-block-end: clamp(16px, 2.4vw, 36px); border-radius: 26%; background: var(--sq); color: #fff; transition: background .35s var(--ease), color .35s var(--ease); }
.fxnx__ic svg { display: block; inline-size: 54%; block-size: 54%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.js .fxnx__ic svg > * { stroke-dasharray: 1 2; stroke-dashoffset: 1.05; }
.js .fxnx__grid.is-in .fxnx__ic svg > * { stroke-dashoffset: 0; transition: stroke-dashoffset 1.2s var(--ease) calc(var(--i) * 55ms + .35s); }
.fxnx__grid h3 { font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); font-weight: var(--w-strong); line-height: 1.4; transition: color .35s var(--ease); }
.fxnx__grid p { color: var(--fx-ink-2); font-size: 1rem; line-height: 1.75; transition: color .35s var(--ease); }
@media (hover: hover) {
  .js .fxnx__grid li:hover .fxnx__ic svg > * { animation: nxdraw .9s var(--ease) both; }
}
@keyframes nxsweep { to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
@keyframes nxdraw { from { stroke-dashoffset: 1.05; } to { stroke-dashoffset: 0; } }

/* how Engaz thinks: four cards */
.fxthink__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 16px); }
.fxthink__grid li { display: grid; align-content: start; gap: 10px; padding: clamp(22px, 2.6vw, 40px); border-radius: clamp(20px, 2.2vw, 30px); background: var(--fx-panel); transition: background-color .35s var(--ease), translate .5s cubic-bezier(.2, .8, .2, 1); }
.fxthink__grid b { justify-self: start; margin-block-end: clamp(18px, 3vw, 44px); color: var(--fam-re); font-size: 1rem; font-weight: 500; line-height: 1; }
.fxthink__grid h3 { font-size: clamp(1.3rem, 1rem + 1vw, 1.9rem); font-weight: var(--w-strong); line-height: 1.4; }
.fxthink__grid p { max-inline-size: 54ch; color: var(--fx-ink-2); font-size: 1.05rem; line-height: 1.8; }
@media (hover: hover) { .fxthink__grid li:hover { background: var(--think-hover); translate: 0 -4px; } }

/* the questions: title on one side, the questions on the other */
.fxfq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr); align-items: start; gap: clamp(28px, 5vw, 96px); }
.fxfq__head { position: sticky; inset-block-start: calc(var(--header-h) + 28px); display: grid; justify-items: start; gap: 14px; }
.fxfq__head .fxkick { margin: 0; }
.fxfq .fxacc { max-inline-size: none; margin-block-start: 0; }

/* FAQ: the question carries the weight, the answer reads as body text */
.fxfaq summary { padding-block: clamp(16px, 1.7vw, 24px); font-size: clamp(1.12rem, 1rem + .5vw, 1.4rem); font-weight: var(--w-strong); line-height: 1.5; }
.fxfaq summary i { inline-size: 15px; block-size: 15px; }
.fxfaq details p { max-inline-size: 70ch; padding-block-end: clamp(16px, 1.7vw, 24px); font-size: 1.05rem; line-height: 1.85; }

@media (max-width: 860px) {
  .fxabh { min-block-size: 0; padding-block-start: calc(var(--header-h) + 44px); }
  .fxabh .fxgiant { max-inline-size: none; font-size: clamp(2.2rem, 10.4vw, 3.4rem); }
  .fxjv { grid-template-columns: minmax(0, 1fr); }
  .fxjv__journey, .fxjv__vision { min-block-size: 0; }
  .fxjv__vision { gap: clamp(72px, 22vw, 130px); }
  .fxjv__vision h2 { max-inline-size: none; }
  .fxnx__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fxnx__chart { inline-size: 36%; }
  .fxthink__grid { grid-template-columns: minmax(0, 1fr); }
  .fxfq { grid-template-columns: minmax(0, 1fr); gap: var(--sp-s); }
  .fxfq__head { position: static; }
}
@media (max-width: 620px) {
  .fxjv__line { --rail: 28px; grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
  .fxjv__line li { --ny: calc(14px + 1.1rem); grid-template-columns: minmax(0, 1fr); gap: 6px; padding-block: 14px; }
  .fxjv__line span { max-inline-size: none; font-size: 1rem; }
  .fxnx__goal { min-block-size: 0; padding-block-start: 222px; }
  .fxnx__fig, .fxnx__txt { max-inline-size: none; }
  .fxnx__chart { inset-block: 58px auto; inset-inline: 30px; inline-size: auto; block-size: 132px; }
  .fxnx__plot { -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 14%); mask-image: linear-gradient(90deg, transparent 0%, #000 14%); }
  .fxnx__grid { grid-template-columns: minmax(0, 1fr); }
  .fxnx__grid li { grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; align-items: center; }
  .fxnx__ic { margin-block-end: 0; }
  .fxnx__grid p { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .fxabh__stats > div { gap: 4px; padding: 16px 6px; }
  .fxabh__stats b { font-size: clamp(1.7rem, 8.6vw, 2.4rem); }
  .fxabh__stats dd { font-size: .86rem; line-height: 1.4; }
}
@media (prefers-reduced-motion: reduce) { .js .fxabh__bg, .js .fxabh__stats { animation: none; } .js .fxjv__line li { translate: none; transition: none; } .js .fxjv__line li::before { scale: none; transition: none; } .fxjv__orbit i, .fxjv__line li:last-child i::after, .fxnx__glint, .fxnx__node--goal::after { animation: none; } .fxjv__line li:last-child i::after, .fxnx__node--goal::after, .fxnx__glint { opacity: 0; } .js .fxnx__goal[data-reveal] .fxnx__plot { clip-path: none; transition: none; } .js .fxnx__goal[data-reveal] .fxnx__node { scale: 1; transition: none; } .js .fxnx__goal[data-reveal] { translate: none; transition: none; } .js .fxnx__grid li, .js .fxnx__grid.is-in li { opacity: 1; animation: none; transition: none; } .js .fxnx__ic svg > *, .js .fxnx__grid.is-in .fxnx__ic svg > * { stroke-dashoffset: 0; transition: none; animation: none; } }

/* ==========================================================================
   Version 2, review round of 2026-11-23 (user's walkthrough of the site).
   Hero button hover, no scroll hint; the Agent icon moves and the score runs
   blue to mint (no orange); each solution fits one screen with its products
   on a rail; no product ruler; lessons as three cards; a compact two-column
   FAQ; a footer that follows the theme and ends on the statement, not on the
   giant wordmark. Appended after the About partial.
   ========================================================================== */
:root { --hot-ink: #8ff0c6; --mint: #3fe9a8; }
:root[data-theme="light"] { --hot-ink: #00603a; }

/* ---------- Buttons: the arrow keeps its distance from the words ---------- */
.fxbtn { gap: 10px; }
.fxbtn .i { flex: none; inline-size: 16px; block-size: 16px; }

/* ---------- Hero: the second button stays readable when pointed at ---------- */
.fxhero { padding-block-end: clamp(48px, 8svh, 88px); }
@media (hover: hover) {
  .fxhero .fxbtn--ghost:hover { background: var(--fx-ink); color: var(--fx-bg); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ---------- Engaz Agent: the icon is alive, the score runs from blue to mint ---------- */
.agx { --agx-dir: 90deg; }
[dir="rtl"] .agx { --agx-dir: 270deg; }
.agx__bot { position: relative; flex: none; display: grid; inline-size: 44px; block-size: 44px; }
.agx__bot::before, .agx__bot::after { content: ""; position: absolute; inset: -5px; border: 1.5px solid color-mix(in srgb, var(--c-blue) 70%, transparent); border-radius: 30%; opacity: 0; animation: ilring 2.8s ease-out infinite; pointer-events: none; }
.agx__bot::after { animation-delay: 1.4s; }
.agx__bot .picon { position: relative; animation: agxbob 3.4s ease-in-out infinite; }
@keyframes agxbob { 50% { transform: translateY(-2px) rotate(-4deg); } }
.agx:has(.agx__typing.is-on) .agx__bot .picon { animation: agxtalk .55s ease-in-out infinite; }
@keyframes agxtalk { 50% { transform: scale(1.09); } }
.agx .agx__bar i, .agx.is-hot .agx__bar i { inline-size: 100%; background: linear-gradient(var(--agx-dir), #004dff 0%, #2078ff 55%, var(--mint) 100%); clip-path: inset(0 calc(100% - var(--score, 86) * 1%) 0 0 round 99px); transition: clip-path .7s var(--ease); }
[dir="rtl"] .agx .agx__bar i { clip-path: inset(0 0 0 calc(100% - var(--score, 86) * 1%) round 99px); }
.agx__hot { background: color-mix(in srgb, #00aa53 20%, transparent); color: var(--hot-ink); }
.agx.is-hot .agx__score b { color: var(--hot-ink); }

/* ---------- A solution on one screen: the statement and its button on top, the products on a rail underneath ---------- */
.fxsol { --fx-a1: #6ca0ff; --fx-a2: #accbff; }
.fxsol[data-track="hydra"] { --fx-a1: #3fe9a8; --fx-a2: #9ff4cf; }
.fxsol, .fxsol--flip { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(22px, 3vw, 44px); padding: clamp(26px, 4vw, 64px) 0 clamp(22px, 3vw, 44px); overflow: hidden; }
.fxsol__top { display: flex; align-items: flex-end; justify-content: space-between; gap: clamp(20px, 4vw, 64px); padding-inline: clamp(18px, 4.4vw, 64px); }
.fxsol--flip .fxsol__top { flex-direction: row-reverse; }
.fxsol__text, .fxsol--flip .fxsol__text { order: 0; justify-self: auto; gap: clamp(12px, 1.5vw, 20px); }
.fxsol__text .fxgiant { max-inline-size: 20ch; font-size: clamp(1.9rem, 1rem + 2.6vw, 3.4rem); }
.fxsol__text .fxsec__lead { max-inline-size: 52ch; }
.fxsol__side { flex: none; display: grid; justify-items: end; gap: 16px; }
.fxsol--flip .fxsol__side { justify-items: start; }
.fxsol__nav { display: flex; gap: 8px; }
.fxsol__nav[hidden] { display: none; }
.fxsol__nav button { display: grid; place-items: center; inline-size: 44px; block-size: 44px; border-radius: 50%; background: var(--board); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fam) 26%, transparent); color: var(--fx-ink); transition: background-color .25s var(--ease), color .25s var(--ease), opacity .25s var(--ease); }
.fxsol__nav button[aria-disabled="true"] { opacity: .4; cursor: default; }
.fxsol__nav [data-rail-prev] .i { rotate: 180deg; }
.fxsol__rail { display: flex; gap: 12px; padding-inline: clamp(18px, 4.4vw, 64px); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-inline: clamp(18px, 4.4vw, 64px); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.fxsol__rail::-webkit-scrollbar { display: none; }
.fxsol__rail li { flex: 1 0 clamp(200px, 17vw, 250px); scroll-snap-align: start; }
.fxcard { display: grid; align-content: start; gap: 6px; block-size: 100%; min-block-size: clamp(190px, 16vw, 232px); padding: clamp(16px, 1.6vw, 24px); border-radius: clamp(16px, 1.8vw, 24px); background: var(--board); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fam) 12%, transparent); transition: box-shadow .25s var(--ease), translate .35s var(--ease); }
.fxcard .picon { inline-size: clamp(50px, 4.2vw, 62px); block-size: auto; aspect-ratio: 1; margin-block-end: clamp(12px, 1.6vw, 22px); border-radius: 26%; transition: translate .35s var(--ease), scale .35s var(--ease); }
.fxcard__name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.fxcard__name strong { font-size: clamp(1.12rem, 1rem + .4vw, 1.3rem); font-weight: var(--w-strong); line-height: 1.4; }
.fxcard__line { color: var(--fx-ink-2); font-size: .98rem; line-height: 1.6; }
@media (hover: hover) {
  .fxcard:hover { box-shadow: inset 0 0 0 1.5px var(--fam); translate: 0 -4px; }
  .fxcard:hover .picon { translate: 0 -3px; scale: 1.05; }
  .fxsol__nav button:not([aria-disabled="true"]):hover { background: var(--fam); color: #fff; }
}
.fxsol + .fxtrust { margin-block-start: 0; padding-block-start: var(--sp-s); }

/* ---------- Products intro: one colour, the paragraph given room ---------- */
.fxsteps__head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; gap: clamp(20px, 4vw, 72px); padding-block: var(--sp) var(--sp-s); }
.fxsteps__head .fxhero__title { max-inline-size: none; font-size: clamp(2.1rem, 1rem + 3.6vw, 4.4rem); }
.fxsteps__head .fxhero__title span + span { color: var(--fx-ink); }
.fxsteps__head p { justify-self: end; max-inline-size: 46ch; color: var(--fx-ink-2); font-size: var(--fs-lead); line-height: 1.75; text-align: start; }
/* the ruler of product names is gone; the card takes its space back */
.fxskip__tabs { display: none; }
@media (min-width: 861px) { .fxstep { padding-inline-end: clamp(20px, 5vw, 84px); } }

/* ---------- What Engaz changes: three cards, not an accordion ---------- */
.fxwins .fxsec__head .fxgiant { max-inline-size: 20ch; }
.fxwins__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 16px); }
.fxwins__grid li { display: grid; align-content: start; gap: 12px; min-block-size: clamp(220px, 20vw, 290px); padding: clamp(20px, 2.4vw, 36px); border-radius: clamp(20px, 2.3vw, 34px); background: var(--fx-panel); transition: background-color .3s var(--ease), translate .35s var(--ease); }
.fxwins__grid b { margin-block-end: clamp(18px, 3vw, 52px); color: var(--fam-re); font-size: 1.05rem; font-weight: 500; line-height: 1; }
.fxwins__grid h3 { font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem); font-weight: 500; line-height: 1.35; }
.fxwins__grid p { color: var(--fx-ink-2); font-size: 1.04rem; line-height: 1.75; }
.fxwins__closing { max-inline-size: 46ch; margin-block-start: var(--sp-s); font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); line-height: 1.6; }
@media (hover: hover) { .fxwins__grid li:hover { background: var(--tint-re); translate: 0 -4px; } }

/* ---------- FAQ: compact, two columns, every question closed until asked ---------- */
.fxfaqs .fxsec__head .fxgiant { font-size: clamp(1.7rem, 1rem + 2.2vw, 3rem); }
.fxfaqs__cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 0 clamp(20px, 3.4vw, 56px); }
.fxfaqs .fxacc { margin-block-start: 0; }
.fxfaqs .fxfaq summary { padding-block: 16px; font-size: 1.08rem; }
.fxfaqs .fxfaq details p { padding-block-end: 16px; font-size: 1rem; line-height: 1.8; }

/* ---------- Countries: each one answers the pointer ---------- */
.fxplaces__grid li { transition: background-color .25s var(--ease), translate .3s var(--ease); }
@media (hover: hover) { .fxplaces__grid li:hover { background: var(--tint-re); translate: 0 -3px; } }

/* ---------- Footer: opens on the statement and the button, follows the theme, no giant wordmark ---------- */
:root[data-theme="light"] .fxfoot__panel { --fx-ink: #00024c; --fx-ink-2: #47497e; --fx-dim: #696b96; --fx-bg: #f1f4fa; --fx-line: rgba(0, 2, 76, .14); background: #f1f4fa; color: #00024c; }
.fxfoot__lead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 22px clamp(24px, 5vw, 80px); margin-block-end: clamp(32px, 5vw, 72px); padding-block-end: clamp(32px, 5vw, 72px); border-block-end: 1px solid var(--fx-line); }
.fxfoot__lead .fxfoot__closing { max-inline-size: 13ch; margin: 0; font-size: clamp(2.6rem, 1rem + 6vw, 7rem); line-height: var(--fx-lh); font-weight: 400; letter-spacing: var(--fx-track); }
html[lang="ar"] .fxfoot__lead .fxfoot__closing { line-height: 1.2; }
.fxfoot__logo { display: block; inline-size: 132px; color: var(--fx-ink); }
.fxfoot__logo svg { display: block; inline-size: 100%; block-size: auto; }
.fxfoot__tag { max-inline-size: 26ch; margin-block-start: 14px; color: var(--fx-ink-2); font-size: 1rem; line-height: 1.6; }
.fxfoot__legal { padding-block-end: clamp(20px, 2.6vw, 34px); }
.fxfoot__two a { white-space: nowrap; }
.fxfoot__social a { background: color-mix(in srgb, var(--fx-ink) 9%, transparent); box-shadow: inset 0 0 0 1px var(--fx-line); color: var(--fx-ink); transition: background-color .25s var(--ease), color .25s var(--ease), translate .35s var(--ease); }
@media (hover: hover) { .fxfoot__social a:hover { background: var(--c-blue); color: #fff; } }

/* ---------- Smaller screens ---------- */
@media (max-width: 1100px) {
  .fxwins__grid { grid-template-columns: minmax(0, 1fr); }
  .fxwins__grid li { min-block-size: 0; }
  .fxwins__grid b { margin-block-end: 6px; }
}
@media (max-width: 860px) {
  .fxsol, .fxsol--flip { gap: 20px; padding: 26px 0 20px; }
  .fxsol__top, .fxsol--flip .fxsol__top { flex-direction: column; align-items: stretch; gap: 18px; padding-inline: 16px; }
  .fxsol__text { padding-inline: 0; }
  .fxsol__side, .fxsol--flip .fxsol__side { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .fxsol__rail { gap: 10px; padding-inline: 16px; scroll-padding-inline: 16px; }
  .fxsol__rail li { flex: 0 0 min(64vw, 250px); }
  .fxcard { min-block-size: 176px; }
  .fxsteps__head { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .fxsteps__head p { justify-self: start; font-size: 1rem; }
  .fxfaqs__cols { grid-template-columns: minmax(0, 1fr); }
  .fxfaqs__cols .fxacc + .fxacc { border-block-start: 0; }
  .fxfoot__lead { align-items: flex-start; flex-direction: column; }
  .fxfoot__lead .fxfoot__closing { font-size: clamp(2.3rem, 11vw, 3.6rem); }
}
@media (max-width: 1000px) {
  /* footer: the product list takes a full row, so no product name has to break in two */
  .fxfoot__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .fxfoot__brand, .fxfoot__col--wide { grid-column: 1 / -1; }
  .fxfoot__two a { white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  .agx__bot::before, .agx__bot::after, .agx__bot .picon { animation: none !important; }
  .agx .agx__bar i { transition: none; }
  .fxcard, .fxcard .picon, .fxwins__grid li, .fxplaces__grid li { transition: none; }
}

/* ---------- The Agent mark, alive (as in the product): it assembles when the demo comes into view (the disc grows, the two halves
   of the visor meet, the eyes drop in one after the other), then it blinks and its eyes follow the pointer ---------- */
.agx__bot { inline-size: 52px; block-size: 52px; place-items: center; border-radius: 26%; background: linear-gradient(180deg, #06107e 0%, #1f47ea 100%); }
.agx__mark { display: block; inline-size: 66%; block-size: 66%; overflow: visible; animation: agxbob 3.4s ease-in-out infinite; }
.agx:has(.agx__typing.is-on) .agx__mark { animation: agxtalk .55s ease-in-out infinite; }
.agx__mark .mk-disc, .agx__mark .mk-va, .agx__mark .mk-vb, .agx__mark .mk-eye, .agx__mark .mk-eyes { transform-box: fill-box; transform-origin: 50% 50%; }
.agx__mark .mk-eyes { transition: transform .16s linear; animation: mkblink 5.2s ease-in-out 1.6s infinite; }
.js .agx.is-live:not(.is-in) .agx__mark > * { opacity: 0; }
.agx.is-in .mk-disc { animation: mkdisc .8s var(--ease) both; }
.agx.is-in .mk-va { animation: mkva .75s var(--ease) .1s both; }
.agx.is-in .mk-vb { animation: mkvb .75s var(--ease) .1s both; }
.agx.is-in .mk-eye { animation: mkeye .42s cubic-bezier(.34, 1.56, .64, 1) .45s both; }
.agx.is-in .mk-eye + .mk-eye { animation-delay: .61s; }
@keyframes mkdisc { from { opacity: 0; transform: scale(.62); } }
@keyframes mkva { from { opacity: 0; transform: translate(-38px, 16px) rotate(-9deg); } }
@keyframes mkvb { from { opacity: 0; transform: translate(38px, 16px) rotate(9deg); } }
@keyframes mkeye { from { opacity: 0; transform: translateY(-22px) scale(.4); } }
@keyframes mkblink { 0%, 91%, 100% { scale: 1 1; } 94.5% { scale: 1 .1; } }
@media (prefers-reduced-motion: reduce) { .agx__mark, .agx__mark * { animation: none !important; transition: none; opacity: 1 !important; } }

/* ---------- Hero figures, aligned: the number on one side, its two lines of words beside it, the three in one row ---------- */
.fxhero__stats > div { display: grid; grid-template-columns: auto auto; grid-template-areas: "n u" "n t"; align-items: center; column-gap: clamp(12px, 1.3vw, 20px); padding: 0 clamp(20px, 3vw, 48px); text-align: start; }
.fxhero__stats dt { display: contents; }
.fxhero__stats b { grid-area: n; }
.fxhero__stats dt span { grid-area: u; align-self: end; line-height: 1.3; }
.fxhero__stats dd { grid-area: t; align-self: start; margin: 2px 0 0; line-height: 1.4; white-space: nowrap; }
@media (max-width: 1100px) {
  /* not enough width for three side by side: one under the other, numbers in one column, words in the next */
  .fxhero__stats { grid-template-columns: minmax(0, 1fr); justify-items: stretch; inline-size: min(100%, 360px); margin-inline: auto; }
  .fxhero__stats > div { grid-template-columns: 6.4rem minmax(0, 1fr); padding: 12px 0; border-inline-start: 0; border-block-start: 1px solid var(--fx-line); }
  .fxhero__stats > div:first-child { border-block-start: 0; }
  .fxhero__stats b { font-size: 2rem; justify-self: start; }
  .fxhero__stats dt span { font-size: 1rem; }
  .fxhero__stats dd { font-size: .92rem; white-space: normal; }
}

/* ---------- Top bar in the blue theme: lighter glass, more blur ---------- */
:root:not([data-theme="light"]) .fx .fxtop::before, :root:not([data-theme="light"]) .fx .fxtop[data-tone="dark"]::before { border-color: rgba(255, 255, 255, .2); background: rgba(110, 140, 255, .1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 14px 34px -24px rgba(0, 0, 30, .7); -webkit-backdrop-filter: blur(28px) saturate(170%); backdrop-filter: blur(28px) saturate(170%); }
:root:not([data-theme="light"]) .fxtop__pill.fxglass { background: rgba(110, 140, 255, .1); -webkit-backdrop-filter: blur(24px) saturate(170%); backdrop-filter: blur(24px) saturate(170%); }
:root:not([data-theme="light"]) .fxtop.is-scrolled .fxtop__pill.fxglass { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }

/* ---------- Engaz Agent demo, lighter and smoother (review of 2026-11-24): glass panes instead of solid blocks, each bubble
   arrives from its own side and pushes the thread up gently, the score is a number first with a bar that carries a bright tip,
   and a value rolls into its row with a sweep of light instead of fading in ---------- */
:root:not([data-theme="light"]) .agx { background: linear-gradient(180deg, rgba(120, 150, 255, .11), rgba(120, 150, 255, .04)); box-shadow: inset 0 0 0 1px rgba(165, 190, 255, .2), inset 0 1px 0 rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
:root:not([data-theme="light"]) .agx__pane { background: rgba(255, 255, 255, .045); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
:root:not([data-theme="light"]) .agx { --agx-c: rgba(255, 255, 255, .08); }

/* bubbles */
.agx { --agx-in: 40px; }
[dir="rtl"] .agx { --agx-in: -40px; }
.agx__msg { flex: none; overflow: hidden; }
.agx.is-live .agx__msg--c.is-on { --from: calc(var(--agx-in) * -1); animation: agxmsg .85s cubic-bezier(.2, .85, .2, 1) both; }
.agx.is-live .agx__msg--a.is-on { --from: var(--agx-in); animation: agxmsg .85s cubic-bezier(.2, .85, .2, 1) both; }
@keyframes agxmsg {
  from { opacity: 0; max-block-size: 0; padding-block: 0; margin-block-start: -10px; transform: translateX(var(--from)) scale(.88); filter: blur(8px); }
  55% { opacity: 1; filter: blur(0); }
  to { max-block-size: 240px; }
}
.agx__typing.is-on { animation: agxtyping .45s cubic-bezier(.2, .85, .2, 1) both; }
@keyframes agxtyping { from { opacity: 0; transform: translateX(var(--agx-in)) scale(.8); } }

/* score: label and state on one line, the number under them, then the bar */
.agx__score { gap: 12px; padding: clamp(14px, 1.5vw, 20px); border-radius: 18px; }
.agx__score p { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label hot" "num num"; align-items: center; gap: 4px 10px; }
.agx__score p > span { grid-area: label; color: var(--fx-ink-2); font-size: .98rem; }
.agx__score .agx__hot { grid-area: hot; justify-self: end; }
.agx__score b { grid-area: num; justify-self: start; margin: 0; font-size: clamp(2.5rem, 1.6rem + 1.8vw, 3.4rem); font-weight: 300; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; transition: color .5s var(--ease); }
.agx__score small { font-size: .36em; letter-spacing: 0; }
.agx__bar { position: relative; block-size: 6px; overflow: visible; }
.agx__bar::after { content: ""; position: absolute; inset-block-start: 50%; inset-inline-start: calc(var(--score, 86) * 1% - 8px); inline-size: 16px; block-size: 16px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--mint) 34%, transparent), 0 0 18px var(--mint); translate: 0 -50%; transition: inset-inline-start .7s var(--ease); }
:root[data-theme="light"] .agx__bar::after { box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-blue) 24%, transparent), 0 2px 8px rgba(0, 46, 186, .35); }

/* fields: the dash rolls out, the value rolls in, light sweeps the row */
.agx__fields div { position: relative; }
.agx__fields dd { display: grid; justify-items: end; overflow: hidden; }
.agx__fields .agx__val, .agx__fields .agx__pend { grid-area: 1 / 1; display: block; }
.agx:not(.is-live) .agx__fields .agx__pend { display: none; }
.agx.is-live .agx__fields div .agx__val { transition: translate .75s cubic-bezier(.2, .9, .2, 1), opacity .45s var(--ease), filter .6s var(--ease); }
.agx.is-live .agx__fields div .agx__pend { transition: translate .6s cubic-bezier(.2, .9, .2, 1), opacity .35s var(--ease); }
.agx.is-live .agx__fields div:not(.is-on) .agx__val { display: block; translate: 0 115%; opacity: 0; filter: blur(4px); }
.agx.is-live .agx__fields div:not(.is-on) .agx__pend { display: block; }
.agx.is-live .agx__fields div.is-on .agx__val { display: block; translate: 0 0; opacity: 1; filter: blur(0); animation: none; }
.agx.is-live .agx__fields div.is-on .agx__pend { translate: 0 -115%; opacity: 0; }
.agx.is-live .agx__fields div.is-on::after { content: ""; position: absolute; inset: 2px -8px; border-radius: 10px; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--mint) 26%, transparent), transparent) no-repeat 0 0 / 55% 100%; animation: agxsweep 1.2s var(--ease) both; pointer-events: none; }
@keyframes agxsweep { from { background-position: -120% 0; opacity: 1; } to { background-position: 220% 0; opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .agx.is-live .agx__msg.is-on, .agx__typing.is-on, .agx.is-live .agx__fields div.is-on::after { animation: none; }
  .agx__bar::after { transition: none; }
}

/* ---------- Review of 2026-11-24, second pass ---------- */
/* Solutions: no tag and no arrows; the button sits level with the first line of the statement */
.fxsol__top, .fxsol--flip .fxsol__top { align-items: flex-start; }
.fxsol__top > .fxbtn { flex: none; margin-block-start: clamp(6px, .9vw, 14px); }

/* Real estate products: a ribbon that never stops, fading out at both ends; it waits while a card is pointed at */
.fxloop { display: flex; gap: 12px; margin-block: -14px; padding-block: 14px; overflow: hidden; direction: ltr; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 11%, #000 89%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 11%, #000 89%, transparent 100%); }
.fxloop__track { flex: none; display: flex; gap: 12px; animation: fxloop 52s linear infinite; }
.fxloop__track li { flex: none; inline-size: clamp(224px, 19vw, 272px); }
[dir="rtl"] .fxloop__track li, [dir="rtl"] .fxflags__track li { direction: rtl; }
@keyframes fxloop { to { transform: translateX(calc(-100% - 12px)); } }
.fxloop:hover .fxloop__track, .fxloop:focus-within .fxloop__track { animation-play-state: paused; }

/* HYDRA's five products: a fixed mosaic, two wide cards over three */
.fxmosaic { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; padding-inline: clamp(18px, 4.4vw, 64px); }
.fxmosaic li { grid-column: span 2; }
.fxmosaic li:nth-child(-n + 2) { grid-column: span 3; }
.fxmosaic .fxcard { min-block-size: clamp(150px, 12vw, 184px); }
.fxmosaic li:nth-child(-n + 2) .fxcard { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "i n" "i l"; align-content: center; align-items: center; column-gap: clamp(16px, 1.8vw, 26px); }
.fxmosaic li:nth-child(-n + 2) .picon { grid-area: i; inline-size: clamp(64px, 6vw, 92px); margin: 0; }
.fxmosaic li:nth-child(-n + 2) .fxcard__name { grid-area: n; align-self: end; }
.fxmosaic li:nth-child(-n + 2) .fxcard__line { grid-area: l; align-self: start; }

/* The card answers the pointer: it rises, light comes up from below, the icon tips, a line draws under the name */
.fxcard { position: relative; overflow: hidden; transition: box-shadow .35s var(--ease), translate .5s cubic-bezier(.2, .8, .2, 1); }
.fxcard::before { content: ""; position: absolute; inset: 40% -20% -70%; background: radial-gradient(closest-side, color-mix(in srgb, var(--fam) 62%, transparent), transparent); opacity: 0; translate: 0 24%; transition: opacity .5s var(--ease), translate .7s var(--ease); pointer-events: none; }
.fxcard > * { position: relative; }
.fxcard .picon { transition: translate .55s cubic-bezier(.34, 1.56, .64, 1), rotate .55s cubic-bezier(.34, 1.56, .64, 1), scale .55s cubic-bezier(.34, 1.56, .64, 1); }
.fxcard__name { position: relative; padding-block-end: 9px; }
.fxcard__name::after { content: ""; position: absolute; inset-block-end: 0; inset-inline-start: 0; inline-size: 30px; block-size: 2px; border-radius: 2px; background: var(--fam-ink); scale: 0 1; transform-origin: 0 50%; transition: scale .5s var(--ease); }
[dir="rtl"] .fxcard__name::after { transform-origin: 100% 50%; }
.fxcard__line { transition: color .35s var(--ease); }
@media (hover: hover) {
  .fxcard:hover { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--fam) 85%, transparent); translate: 0 -6px; }
  .fxcard:hover::before { opacity: .6; translate: 0 0; }
  .fxcard:hover .picon { translate: 0 -4px; rotate: -7deg; scale: 1.1; }
  .fxcard:hover .fxcard__name::after { scale: 1 1; }
  .fxcard:hover .fxcard__line { color: var(--fx-ink); }
}

/* Outcomes: all three cards rest the same; the one pointed at turns brand blue with white text */
.fxproof__grid li, .fxproof__grid li:first-child { background: var(--fx-panel); background-image: none; color: var(--fx-ink); transition: background-color .4s var(--ease), color .3s var(--ease), translate .45s cubic-bezier(.2, .8, .2, 1); }
.fxproof__grid li b, .fxproof__grid li:first-child b { color: var(--c-blue); transition: color .3s var(--ease); }
:root:not([data-theme="light"]) .fxproof__grid li b, :root:not([data-theme="light"]) .fxproof__grid li:first-child b { color: #accbff; }
.fxproof__grid li span, .fxproof__grid li:first-child span { color: var(--fx-ink-2); transition: color .3s var(--ease); }
@media (hover: hover) {
  .fx .fxproof__grid li:hover { background-color: #004dff; color: #fff; translate: 0 -5px; }
  .fx .fxproof__grid li:hover b, .fx .fxproof__grid li:hover strong { color: #fff; }
  .fx .fxproof__grid li:hover span { color: #e3ecff; }
}

/* What Engaz changes: each answer carries a small drawing in the page's own colours (it follows both themes) that moves once the cards are in view */
:root { --win-node: rgba(255, 255, 255, .1); --win-edge: rgba(255, 255, 255, .22); --win-bar: rgba(140, 170, 255, .34); }
:root[data-theme="light"] { --win-node: #fff; --win-edge: #d9e2f6; --win-bar: #c9d9ff; }
.fxwins__grid li { gap: 0; min-block-size: 0; padding: clamp(8px, .9vw, 12px); overflow: hidden; }
.fxwins__pic { display: grid; place-items: center; aspect-ratio: 16 / 10; overflow: hidden; border-radius: clamp(14px, 1.6vw, 24px); background: radial-gradient(var(--stage-dot) 1px, transparent 1.5px) 0 0 / 18px 18px, var(--stage); }
.wart { display: block; inline-size: min(84%, 340px); block-size: auto; overflow: visible; transition: scale .8s cubic-bezier(.2, .8, .2, 1); }
[dir="rtl"] .wart--flow { transform: scaleX(-1); }
.w-wire { fill: none; stroke: var(--wire); stroke-width: 2; stroke-linecap: round; }
.w-node { fill: var(--win-node); stroke: var(--win-edge); stroke-width: 1.5; }
.w-dot, .w-hub { fill: var(--c-blue); }
.w-goalmark { fill: var(--win-edge); }
.w-ring { fill: none; stroke: color-mix(in srgb, var(--c-blue) 45%, transparent); stroke-width: 1.5; transform-box: fill-box; transform-origin: 50% 50%; }
.w-bar { fill: var(--win-bar); transform-box: fill-box; transform-origin: 50% 100%; }
.w-bar--top { fill: var(--c-blue); }
.w-trend { fill: none; stroke: var(--mint); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 0; }
:root[data-theme="light"] .w-trend { stroke: #00aa53; }
.w-tip { fill: var(--mint); transform-box: fill-box; transform-origin: 50% 50%; }
:root[data-theme="light"] .w-tip { fill: #00aa53; }
/* movement, once the cards are on screen */
.fxwins__grid.is-in .w-dot { animation: wdot 3.6s cubic-bezier(.6, 0, .3, 1) infinite; }
.fxwins__grid.is-in .w-goal { animation: wgoal 3.6s var(--ease) infinite; }
.fxwins__grid.is-in .w-goalmark { animation: wgoalmark 3.6s var(--ease) infinite; }
@keyframes wdot { 0%, 8% { transform: translateX(0); opacity: 1; } 34%, 42% { transform: translateX(98px); } 68%, 86% { transform: translateX(196px); opacity: 1; } 96%, 100% { transform: translateX(196px); opacity: 0; } }
@keyframes wgoal { 0%, 62% { fill: var(--win-node); stroke: var(--win-edge); } 72%, 92% { fill: var(--c-blue); stroke: var(--c-blue); } 100% { fill: var(--win-node); stroke: var(--win-edge); } }
@keyframes wgoalmark { 0%, 62% { fill: var(--win-edge); } 72%, 92% { fill: #fff; } 100% { fill: var(--win-edge); } }
.w-run { stroke-dasharray: 5 7; }
.fxwins__grid.is-in .w-run { animation: wrun 1.1s linear infinite; }
@keyframes wrun { to { stroke-dashoffset: -12; } }
.fxwins__grid.is-in .wart--hub .w-node { animation: wnode 3.2s ease-in-out infinite; animation-delay: calc(var(--i) * .8s); }
@keyframes wnode { 0%, 70%, 100% { fill: var(--win-node); } 20%, 40% { fill: color-mix(in srgb, var(--c-blue) 55%, var(--win-node)); } }
.fxwins__grid.is-in .w-ring { animation: wring 2.6s ease-out infinite; }
@keyframes wring { from { opacity: .9; transform: scale(.74); } to { opacity: 0; transform: scale(1.5); } }
.js .fxwins__grid:not(.is-in) .w-bar { transform: scaleY(.12); }
.js .fxwins__grid:not(.is-in) .w-trend { stroke-dashoffset: 100; }
.js .fxwins__grid:not(.is-in) .w-tip { opacity: 0; }
.w-bar { transition: transform .9s cubic-bezier(.2, .9, .2, 1); transition-delay: calc(.2s + var(--i) * .1s); }
.w-trend { transition: stroke-dashoffset 1.2s var(--ease) .8s; }
.w-tip { transition: opacity .4s var(--ease) 1.8s; }
.fxwins__grid.is-in .w-tip { animation: wtip 2.2s ease-in-out 2.2s infinite; }
@keyframes wtip { 50% { transform: scale(1.35); } }
.fxwins__grid li > div { display: grid; gap: 10px; padding: clamp(16px, 1.8vw, 26px) clamp(8px, 1vw, 14px) clamp(10px, 1.2vw, 16px); }
.fxwins__grid b { margin: 0; }
@media (hover: hover) { .fxwins__grid li:hover .wart { scale: 1.06; } }
@media (prefers-reduced-motion: reduce) { .wart *, .wart { animation: none !important; transition: none !important; } }

/* Customer films on a phone: room between the cards and inside them, names lined up with the picture */
@media (max-width: 860px) {
  .fxstories__grid { gap: 14px; }
  .fxpanel--story { --pp: 10px; border-radius: 22px; }
  .fxpanel--story .story__media { border-radius: 14px; }
  .fxpanel--story .story__text { gap: 4px; padding: 14px 6px 8px; text-align: start; }
  .fxstories .fxsec__head { margin-block-end: 22px; }
  .fxstories .fxsec__lead { margin-block-start: 12px; }
}

/* 19 countries: the number and the statement in the middle, two ribbons of flags under them */
.fxplaces.fxplaces--v2 { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: var(--sp-s); padding: var(--sp) 0; }
.fxplaces__head { display: grid; justify-items: center; gap: 8px; padding-inline: var(--g); text-align: center; }
.fxplaces__head .fxplaces__n { justify-content: center; }
.fxplaces__head .fxh3 { max-inline-size: 22ch; margin-block-start: clamp(8px, 1vw, 16px); }
.fxplaces__head > p:last-child { max-inline-size: 54ch; color: var(--fx-ink-2); font-size: var(--fs-lead); line-height: 1.75; }
.fxplaces__rows { display: grid; gap: 10px; }
.fxflags { display: flex; gap: 10px; overflow: hidden; direction: ltr; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%); }
.fxflags__track { flex: none; display: flex; gap: 10px; animation: fxloop 70s linear infinite; }
.fxflags--back .fxflags__track { animation-direction: reverse; }
.fxflags:hover .fxflags__track { animation-play-state: paused; }
.fxflags__track li { flex: none; display: flex; align-items: center; gap: 10px; padding: 10px 20px 10px 10px; border-radius: 999px; background: var(--fx-panel); font-size: 1.05rem; line-height: 1.3; white-space: nowrap; }
[dir="rtl"] .fxflags__track li { padding: 10px 10px 10px 20px; }
.fxflags__track img { flex: none; inline-size: 38px; block-size: 28px; border-radius: 999px; object-fit: cover; }

@media (max-width: 860px) {
  .fxsol__top, .fxsol--flip .fxsol__top { align-items: stretch; }
  .fxsol__top > .fxbtn { margin: 0; align-self: flex-start; }
  .fxloop__track li { inline-size: min(62vw, 240px); }
  .fxmosaic { grid-template-columns: minmax(0, 1fr); gap: 10px; padding-inline: 16px; }
  .fxmosaic li, .fxmosaic li:nth-child(-n + 2) { grid-column: auto; }
  .fxmosaic .fxcard, .fxmosaic li:nth-child(-n + 2) .fxcard { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "i n" "i l"; align-items: center; column-gap: 14px; min-block-size: 0; padding: 14px; }
  .fxmosaic .picon, .fxmosaic li:nth-child(-n + 2) .picon { grid-area: i; inline-size: 48px; margin: 0; }
  .fxmosaic .fxcard__name { grid-area: n; align-self: end; padding-block-end: 4px; }
  .fxmosaic .fxcard__line { grid-area: l; align-self: start; }
  .fxflags__track li { font-size: .96rem; }
  .fxflags__track img { inline-size: 32px; block-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .fxloop, .fxflags { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .fxloop__track, .fxflags__track { animation: none; }
  .fxloop__track + .fxloop__track, .fxflags__track + .fxflags__track { display: none; }
  .fxcard, .fxcard::before, .fxcard .picon, .fxcard__name::after, .fxwins__pic img, .fxproof__grid li { transition: none; }
}

/* ---------- Review of 2026-11-24, third pass ---------- */
/* Icons with an official animation: the tile never moves; the drawing inside it plays (45 frames on one sheet) */
.pican { position: relative; display: block; inline-size: fit-content; line-height: 0; }
.pican .picon { display: block; }
/* the two pictures are set in the element's own style attribute, not through custom properties: Chrome resolves a relative
   url() inside a custom property against this stylesheet, which sent every one of them to a missing address */
.pican__play { position: absolute; inset: 0; background-repeat: no-repeat; background-position: 0 0, 0 0; background-size: 4500% 100%, 100% 100%; opacity: 0; }
@keyframes glyphplay { from { background-position-x: 0%, 0%; } to { background-position-x: 100%, 0%; } }
@keyframes glyphloop { 0% { background-position-x: 0%, 0%; animation-timing-function: steps(44); } 42% { background-position-x: 100%, 0%; animation-timing-function: step-end; } 100% { background-position-x: 100%, 0%; } }
.fxcard .pican { margin-block-end: clamp(12px, 1.6vw, 22px); }
.fxcard .pican .picon { margin: 0; }
.fxmosaic li:nth-child(-n + 2) .pican { grid-area: i; margin: 0; }
@media (hover: hover) {
  .fxcard:hover .picon { translate: none; rotate: none; scale: none; }
  .fxcard:hover .pican__play { opacity: 1; animation: glyphplay 2.4s steps(44) forwards; }
}
/* the Agent icon in the live demo plays its animation, rests, and plays again */
.agx__bot.pican { inline-size: 60px; block-size: 60px; border-radius: 0; background: none; }
.agx__bot.pican .picon { inline-size: 100%; block-size: 100%; border-radius: 0; animation: none; }
.agx__bot .pican__play { opacity: 1; animation: glyphloop 7s infinite; }
.agx__bot::before { border-radius: 30%; }
.agx__bot::after { border-radius: 30%; }
@media (prefers-reduced-motion: reduce) { .pican__play { display: none; } }

/* What Engaz changes: the brand's own illustrations */
.fxwins__pic { display: block; aspect-ratio: auto; background: #004dff; }
.fxwins__pic img { display: block; inline-size: 100%; block-size: auto; aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 45%; transition: scale .8s cubic-bezier(.2, .8, .2, 1); }
@media (hover: hover) { .fxwins__grid li:hover .fxwins__pic img { scale: 1.05; } }

/* 19 countries: number and statement on one side, the countries on the other, held together in one panel */
.fxplaces.fxplaces--v3 { display: block; padding: var(--sp) 7px 0; }
.fxplaces__panel { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr); align-items: center; gap: clamp(28px, 5vw, 96px); padding: clamp(28px, 5vw, 84px) clamp(18px, 4.4vw, 64px); border-radius: clamp(24px, 2.8vw, 40px); background: var(--tint-re); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c-blue) 14%, transparent); }
.fxplaces--v3 .fxplaces__lead > p:last-child { font-size: var(--fs-lead); }
.fxplaces--v3 .fxplaces__grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.fxplaces--v3 .fxplaces__grid li { gap: 10px; padding: 9px 16px 9px 9px; border-radius: 999px; background: var(--board); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c-blue) 10%, transparent); font-size: 1.02rem; }
[dir="rtl"] .fxplaces--v3 .fxplaces__grid li { padding: 9px 9px 9px 16px; }
.fxplaces--v3 .fxplaces__grid img { inline-size: 34px; block-size: 26px; border-radius: 999px; }
@media (max-width: 860px) {
  .fxplaces__panel { grid-template-columns: minmax(0, 1fr); gap: var(--sp-s); padding: 28px 14px 22px; }
  .fxplaces--v3 .fxplaces__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .fxplaces--v3 .fxplaces__grid li { font-size: .95rem; }
}

/* the countries panel keeps its distance from the footer */
.fxplaces.fxplaces--v3 { padding-block-end: var(--sp-s); }

/* ---------- Contact, second design: the invitation and the direct lines on one side, the form in a glass panel on the other ---------- */
:root { --ct-card: rgba(120, 150, 255, .09); --ct-edge: rgba(165, 190, 255, .22); --ct-field: rgba(255, 255, 255, .06); --ct-field-edge: rgba(255, 255, 255, .16); }
:root[data-theme="light"] { --ct-card: #fff; --ct-edge: #dfe6f7; --ct-field: #f5f7fc; --ct-field-edge: #d9e0f0; }
.fxct { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, min(47%, 640px)); align-items: start; gap: clamp(28px, 5vw, 96px); min-block-size: 100vh; min-block-size: 100svh; padding: calc(var(--header-h) + clamp(36px, 7svh, 90px)) var(--g) var(--sp); overflow: hidden; }
.fxct__bg { position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(0, 2, 76, .84) 0%, rgba(0, 2, 76, .35) 26%, rgba(0, 2, 76, .2) 50%, var(--fx-bg) 92%), url("../img/bg-dark-02.jpg") 50% 0 / cover no-repeat; }
:root[data-theme="light"] .fxct__bg { background: radial-gradient(46% 40% at 22% 16%, var(--glow-1), transparent 72%), radial-gradient(34% 32% at 78% 60%, var(--glow-2, var(--glow-1)), transparent 70%); }
.js .fxct__bg { animation: fxcurtain 1.6s var(--ease) both; }
.fxct__info { display: grid; justify-items: start; gap: clamp(14px, 1.8vw, 24px); }
.fxct__info .fxkick { margin: 0; }
.fxct__info .fxgiant { font-size: clamp(3.4rem, 1rem + 8.4vw, 8.4rem); }
.fxct__info .fxsec__lead { max-inline-size: 50ch; margin: 0; }
:root:not([data-theme="light"]) .fxct__info .fxsec__lead { color: #dfe6ff; }
.fxct__ways { inline-size: min(100%, 540px); margin-block-start: clamp(8px, 1.8vw, 26px); border-block-start: 1px solid var(--fx-line); }
.fxct__ways div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); align-items: baseline; gap: 16px; padding-block: clamp(14px, 1.5vw, 20px); border-block-end: 1px solid var(--fx-line); }
.fxct__ways dt { color: var(--fx-ink-2); font-size: 1rem; line-height: 1.5; }
:root:not([data-theme="light"]) .fxct__ways dt { color: #cfd8f7; }
.fxct__ways dd { font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); line-height: 1.5; }
.fxct__ways dd a { display: inline-block; transition: color .25s var(--ease); }
[dir="rtl"] .fxct__ways dd a { text-align: right; }
.fxct__social { margin: 0; }
.fxct__card { padding: clamp(18px, 2.4vw, 36px); border-radius: clamp(22px, 2.6vw, 36px); background: var(--ct-card); box-shadow: inset 0 0 0 1px var(--ct-edge), inset 0 1px 0 rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(24px) saturate(150%); backdrop-filter: blur(24px) saturate(150%); }
.fxct__card .form { display: grid; gap: 16px; margin: 0; max-inline-size: none; }
.fxct__card .form__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.fxct__card .field { display: grid; gap: 7px; margin: 0; }
.fxct__card .field label { color: var(--fx-ink); font-size: .98rem; line-height: 1.4; }
.fxct__card .field input, .fxct__card .field select, .fxct__card .field textarea { inline-size: 100%; min-block-size: 54px; padding: 12px 16px; border: 1px solid var(--ct-field-edge); border-radius: 14px; background-color: var(--ct-field); color: var(--fx-ink); font: inherit; font-size: 1.02rem; transition: border-color .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease); }
.fxct__card .field textarea { min-block-size: 132px; resize: vertical; }
.fxct__card .field select option { color: #00024c; background: #fff; }
.fxct__card .fxbtn { inline-size: 100%; min-block-size: 56px; background: var(--c-blue); color: #fff; font-size: 1.08rem; }
.fxct__card .form__status { margin: 0; }
@media (hover: hover) {
  .fxct__ways dd a:hover { color: var(--fam-re); }
  .fxct__card .field input:hover, .fxct__card .field select:hover, .fxct__card .field textarea:hover { border-color: color-mix(in srgb, var(--c-blue) 60%, var(--ct-field-edge)); }
  .fxct__card .fxbtn:hover { background: #002eba; }
}
@media (max-width: 900px) {
  .fxct { grid-template-columns: minmax(0, 1fr); gap: var(--sp-s); min-block-size: 0; padding-block-start: calc(var(--header-h) + 28px); }
  .fxct__info .fxgiant { font-size: clamp(3rem, 16vw, 4.6rem); }
  .fxct__ways div { grid-template-columns: 5.2rem minmax(0, 1fr); }
  .fxct__card { padding: 16px; }
  .fxct__card .form__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .js .fxct__bg { animation: none; } }

/* ---------- Review of 2026-11-24, fourth pass ---------- */
/* Icons without an official animation: the drawing springs up inside the tile, the tile does not move */
.pican__in { position: absolute; inset: 0; background-position: center; background-size: 100% 100%; background-repeat: no-repeat; -webkit-mask: radial-gradient(circle at 50% 50%, #000 50%, transparent 66%); mask: radial-gradient(circle at 50% 50%, #000 50%, transparent 66%); opacity: 0; transform-origin: 50% 50%; }
@keyframes glyphpop { 0% { transform: scale(1) rotate(0deg); } 34% { transform: scale(1.24) rotate(-9deg); } 58% { transform: scale(1.07) rotate(5deg); } 80% { transform: scale(1.14) rotate(-2deg); } 100% { transform: scale(1.1) rotate(0deg); } }
@media (hover: hover) {
  .fxcard:hover .pican__in { opacity: 1; animation: glyphpop 1.1s cubic-bezier(.3, 1.3, .5, 1) both; }
}
@media (prefers-reduced-motion: reduce) { .pican__in { display: none; } }

/* Card hover, tuned per theme. Blue theme: light rises from below and the edge takes the family colour.
   Light theme: the card turns white, a soft tint of the family colour comes up, the edge is drawn in it. */
.fxcard { transition: background-color .45s var(--ease), box-shadow .45s var(--ease), translate .6s cubic-bezier(.2, .8, .2, 1); }
.fxcard::before { transition: opacity .6s var(--ease), translate .8s cubic-bezier(.2, .8, .2, 1); }
:root[data-theme="light"] .fxcard { background: #fff; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fam) 16%, transparent); }
:root[data-theme="light"] .fxcard::before { background: radial-gradient(closest-side, color-mix(in srgb, var(--fam) 22%, transparent), transparent); }
@media (hover: hover) {
  :root[data-theme="light"] .fxcard:hover { background: #fff; box-shadow: inset 0 0 0 1.5px var(--fam); }
  :root[data-theme="light"] .fxcard:hover::before { opacity: 1; }
}

/* What Engaz changes: the illustrations are shown whole, never cropped */
.fxwins__pic img { aspect-ratio: 1.04; object-fit: cover; object-position: 50% 50%; }

/* 19 countries: no panel behind it, the page background only */
.fxplaces.fxplaces--v3 { padding: var(--sp) var(--g) var(--sp-s); }
.fxplaces__panel { padding: 0; border-radius: 0; background: none; box-shadow: none; }
.fxplaces--v3 .fxplaces__grid li { background: var(--fx-panel); box-shadow: none; }
@media (max-width: 860px) { .fxplaces__panel { padding: 0; } }

/* ---------- Solution pages, second design ---------- */
.fxsh { position: relative; isolation: isolate; display: grid; align-content: center; justify-items: center; gap: clamp(16px, 2.2vw, 28px); min-block-size: 82vh; min-block-size: 82svh; padding: calc(var(--header-h) + 9svh) var(--g) var(--sp-s); overflow: hidden; text-align: center; }
.fxsh__bg { position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(0, 2, 76, .84) 0%, rgba(0, 2, 76, .3) 22%, rgba(0, 2, 76, 0) 52%, var(--fx-bg) 100%), url("../img/bg-dark-02.jpg") 50% 0 / cover no-repeat; }
:root[data-theme="light"] .fxsh__bg { background: radial-gradient(44% 46% at 50% 30%, var(--glow-1), transparent 72%); }
.js .fxsh__bg { animation: fxcurtain 1.6s var(--ease) both; }
.fxsh .fxkick { margin: 0; }
:root:not([data-theme="light"]) .fxsh .fxkick, :root:not([data-theme="light"]) .fxsh .fxsec__lead { color: #dfe6ff; }
.fxsh .fxgiant { max-inline-size: 16ch; font-size: clamp(2.8rem, 1rem + 6.4vw, 7rem); }
.fxsh .fxsec__lead { max-inline-size: 60ch; margin: 0; }
.fxsh .fxhero__actions { justify-content: center; }
@media (hover: hover) { .fxsh .fxbtn--ghost:hover { background: var(--fx-ink); color: var(--fx-bg); box-shadow: none; } }
.fxsp { --fam: var(--c-blue); --fam-ink: var(--fam-re); }
.fxsp[data-track="hydra"] { --fam: #00824c; --fam-ink: var(--fam-hydra); }
.fxsp__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.1vw, 14px); }
.fxsp[data-track="hydra"] .fxsp__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.fxsp[data-track="hydra"] .fxsp__grid li { grid-column: span 2; }
.fxsp[data-track="hydra"] .fxsp__grid li:nth-child(-n + 2) { grid-column: span 3; }
.fxsp .fxcard { background: var(--fx-panel); }
:root[data-theme="light"] .fxsp .fxcard { background: var(--fx-panel); }
.fxcard--full { min-block-size: clamp(260px, 22vw, 320px); }
.fxcard--full .fxcard__line { font-size: 1rem; line-height: 1.7; }
.fxcard__go { align-self: end; margin-block-start: clamp(14px, 1.6vw, 22px); color: var(--fam-ink); font-size: .96rem; font-style: normal; font-weight: 500; line-height: 1.4; }
.fxcard--full { grid-template-rows: auto auto 1fr auto; }
@media (hover: hover) { :root[data-theme="light"] .fxsp .fxcard:hover { background: #fff; } }
@media (max-width: 1100px) {
  .fxsp__grid, .fxsp[data-track="hydra"] .fxsp__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fxsp[data-track="hydra"] .fxsp__grid li, .fxsp[data-track="hydra"] .fxsp__grid li:nth-child(-n + 2) { grid-column: auto; }
}
@media (max-width: 620px) {
  .fxsh { min-block-size: 0; padding-block-start: calc(var(--header-h) + 44px); }
  .fxsh .fxgiant { font-size: clamp(2.4rem, 12vw, 3.6rem); }
  .fxsp__grid, .fxsp[data-track="hydra"] .fxsp__grid { grid-template-columns: minmax(0, 1fr); }
  .fxcard--full { min-block-size: 0; }
}
@media (prefers-reduced-motion: reduce) { .js .fxsh__bg { animation: none; } }

/* ---------- Engaz Agent demo on a phone: the whole demo fits one screen. A shorter thread, the score on one line,
   the five fields two across, so nothing needs scrolling to be seen together ---------- */
@media (max-width: 860px) {
  .agx { gap: 6px; padding: 6px; }
  .agx__pane { gap: 10px; padding: 14px; }
  .agx__head { gap: 10px; padding-block-end: 10px; }
  .agx__bot.pican { inline-size: 46px; block-size: 46px; }
  .agx__head strong { font-size: 1.02rem; }
  .agx__head p span { font-size: .88rem; }
  .agx__chat { block-size: clamp(168px, 25svh, 214px); gap: 8px; }
  .agx__msg { max-inline-size: 88%; padding: 8px 12px; font-size: .93rem; line-height: 1.5; }
  .agx__typing { padding: 11px 13px; }
  .agx__lead h3 { font-size: 1.05rem; }
  .agx__lead p { display: none; }
  .agx__score { gap: 8px; padding: 10px 12px; border-radius: 14px; }
  .agx__score p { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "label hot num"; gap: 8px; }
  .agx__score .agx__hot { justify-self: start; padding: 2px 8px; font-size: .8rem; }
  .agx__score b { justify-self: end; font-size: 1.7rem; }
  .agx__fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 14px; }
  .agx__fields div, .agx__fields div:first-child { display: grid; gap: 1px; padding-block: 7px; font-size: .92rem; }
  .agx__fields dt { font-size: .82rem; }
  .agx__fields dd { justify-items: start; text-align: start; }
}

/* ---------- Footer on a phone: one group under another with even spacing; nothing runs off the edge.
   Products two across (names never break), solutions and company side by side, then contact and the social links ---------- */
@media (max-width: 700px) {
  .fxfoot__panel { padding-inline: 20px; }
  .fxfoot__lead { gap: 18px; margin-block-end: 30px; padding-block-end: 30px; }
  .fxfoot__top { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .fxfoot__brand, .fxfoot__col, .fxfoot__col--wide, .fxfoot__col--pair, .fxfoot__contact { grid-column: 1 / -1; min-inline-size: 0; }
  .fxfoot__col h2 { margin-block-end: 8px; }
  .fxfoot__col li { padding-block: 6px; line-height: 1.45; }
  .fxfoot__two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 14px; columns: auto; }
  .fxfoot__two a { font-size: clamp(.84rem, 3.9vw, 1rem); white-space: nowrap; }
  .fxfoot__col--pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
  .fxfoot__col--pair > div { min-inline-size: 0; }
  .fxfoot__col ul + h2 { margin-block-start: 0; }
  .fxfoot__contact li { overflow-wrap: anywhere; }
  .fxfoot__social { flex-wrap: wrap; gap: 10px; margin-block-start: 14px; }
  .fxfoot__social li { padding: 0; }
  .fxfoot__legal { display: grid; gap: 12px; margin-block-start: 30px; padding-block: 20px 26px; }
  .fxfoot__legal ul { display: flex; flex-wrap: wrap; gap: 6px 20px; }
}

/* ---------- Footer, tuned (2026-11-24): clearer hierarchy, even spacing, and groups that fold on a phone ----------
   Headings carry the weight in full ink; links sit one step quieter and brighten when pointed at; the direct lines stay in full ink. */
.fxfoot__lead .fxbtn { min-block-size: 56px; padding-inline: 30px; font-size: 1.06rem; }
.fxfoot__top { align-items: start; }
.fxfoot__brand .fxfoot__social { margin-block-start: clamp(18px, 2vw, 28px); }
.fxfoot__col h2 { margin-block-end: 14px; color: var(--fx-ink); font-size: 1rem; font-weight: var(--w-strong); line-height: 1.5; }
.fxfoot__col li { line-height: 1.5; }
.fxfoot__col li + li { margin-block-start: 12px; }
.fxfoot__col a { color: var(--fx-ink-2); transition: color .25s var(--ease); }
.fxfoot__contact li a { color: var(--fx-ink); }
.fxfoot__col .fxfoot__muted { color: var(--fx-ink-2); line-height: 1.7; }
.fxfoot__col ul + h2, .fxfoot__col--pair > div + div { margin-block-start: 30px; }
.fxfoot__legal p, .fxfoot__legal a { font-size: .9rem; line-height: 1.7; }
.fxfoot__toggle { display: none; }
@media (hover: hover) { .fxfoot__col a:hover { color: var(--fx-ink); } }

@media (max-width: 700px) {
  .fxfoot__top { gap: 0; }
  .fxfoot__brand { margin-block-end: 26px; }
  .fxfoot__col--pair { display: block; }
  .fxfoot__col--pair > div + div, .fxfoot__col ul + h2 { margin-block-start: 0; }
  .fxfoot__col li { padding-block: 0; }
  /* groups that open and close (the script adds the button; without it the lists simply show) */
  [data-fold] { border-block-end: 1px solid var(--fx-line); }
  .fxfoot__col--wide[data-fold] { border-block-start: 1px solid var(--fx-line); }
  [data-fold] h2 { margin: 0; }
  [data-fold] h2:has(.fxfoot__toggle) .fxfoot__t { display: none; }
  .fxfoot__toggle { display: flex; align-items: center; justify-content: space-between; gap: 16px; inline-size: 100%; min-block-size: 56px; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: start; cursor: pointer; }
  .fxfoot__toggle i { flex: none; inline-size: 14px; block-size: 14px; background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat; transition: rotate .4s var(--ease); }
  [data-fold].is-open .fxfoot__toggle i { rotate: 45deg; }
  .fxfoot__fold { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
  .fxfoot__fold > div { min-block-size: 0; overflow: hidden; visibility: hidden; transition: visibility 0s .45s; }
  [data-fold].is-open .fxfoot__fold { grid-template-rows: 1fr; }
  [data-fold].is-open .fxfoot__fold > div { visibility: visible; transition-delay: 0s; }
  .fxfoot__fold ul { padding-block: 2px 18px; }
  [data-fold]:not(:has(.fxfoot__toggle)) h2 { margin-block: 18px 10px; }
  .fxfoot__legal { margin-block-start: 26px; }
}
@media (prefers-reduced-motion: reduce) { .fxfoot__fold, .fxfoot__fold > div, .fxfoot__toggle i { transition: none; } }
/* the product list is a two-column grid at every width, so its rows always line up */
.fxfoot__two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px clamp(16px, 2vw, 32px); columns: auto; }
.fxfoot__two li + li { margin-block-start: 0; }
@media (max-width: 700px) { .fxfoot__legal { margin-block-start: 6px; border-block-start: 0; } }

/* ---------- Footer on wide screens (2026-11-23): the product column is as wide as its longest name, so two names never run into each other ---------- */
@media (min-width: 1101px) {
  /* every column is as wide as what it holds and the free space is shared equally between them, so the gaps match */
  .fxfoot__top { grid-template-columns: minmax(0, 290px) max-content max-content minmax(0, max-content); justify-content: space-between; column-gap: clamp(28px, 3.4vw, 64px); }
  .fxfoot__two { grid-template-columns: repeat(2, max-content); column-gap: clamp(24px, 2.6vw, 44px); }
  .fxfoot__logo { margin-block-start: -5px; }
  .fxfoot__contact .fxfoot__muted { max-inline-size: 34ch; text-wrap: balance; }
  .fxfoot__legal { align-items: center; margin-block-start: clamp(32px, 5vw, 72px); }
  .fxfoot__legal ul { gap: 28px; }
}

/* ---------- Home, the two solutions (third design, chosen 2026-11-23) ----------
   One soft panel per solution: the statement and its button on one side, the product icons as large tiles on the other.
   The second solution is mirrored. The tile stays still; what moves on hover is the drawing inside the icon. */
.solx { --fam: var(--c-blue); --fam-ink: var(--fam-re); --tint: var(--tint-re); --fx-a1: #6ca0ff; --fx-a2: #accbff; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.34fr); align-items: center; gap: clamp(28px, 5vw, 96px); margin: var(--sp) clamp(8px, 1vw, 14px) 0; padding: clamp(28px, 4.6vw, 76px) clamp(18px, 4.4vw, 64px); border-radius: clamp(26px, 3vw, 44px); background: var(--tint); }
.solx[data-track="hydra"] { --fam: #00824c; --fam-ink: var(--fam-hydra); --tint: var(--tint-hydra); --fx-a1: #3fe9a8; --fx-a2: #9ff4cf; }
.solx + .solx { margin-block-start: clamp(8px, 1vw, 14px); }
.solx + .fxtrust { margin-block-start: 0; padding-block-start: var(--sp-s); }
.solx--flip { grid-template-columns: minmax(0, 1.34fr) minmax(0, .8fr); }
.solx--flip .solx__text { order: 2; }
.solx__text { display: grid; justify-items: start; gap: clamp(14px, 1.8vw, 24px); }
.solx__text .fxgiant { max-inline-size: 15ch; font-size: clamp(2rem, 1rem + 3vw, 3.9rem); }
.solx__text .fxsec__lead { max-inline-size: 46ch; margin: 0; }
.solx .fxbtn { margin-block-start: 6px; background: var(--fam); color: #fff; }
.solx__tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, .9vw, 12px); }
.solx__tiles[data-n="5"] { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.solx__tiles[data-n="5"] li { grid-column: span 2; }
.solx__tiles[data-n="5"] li:nth-child(n + 4) { grid-column: span 3; }
.solx__tile { display: grid; align-content: center; justify-items: center; gap: clamp(12px, 1.3vw, 18px); block-size: 100%; min-block-size: clamp(150px, 13.4vw, 196px); padding: clamp(14px, 1.4vw, 20px) 10px; border-radius: clamp(18px, 1.9vw, 26px); background: var(--board); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fam) 14%, transparent); text-align: center; transition: background-color .4s var(--ease), box-shadow .4s var(--ease), translate .6s cubic-bezier(.2, .8, .2, 1); }
.solx .picon { display: block; inline-size: clamp(58px, 5.2vw, 80px); block-size: auto; aspect-ratio: 1; margin: 0; border-radius: 26%; }
.solx__name { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 2px 8px; }
.solx__name strong { font-size: clamp(1rem, .9rem + .3vw, 1.12rem); font-weight: 500; line-height: 1.4; white-space: nowrap; }
:root[data-theme="light"] .solx__tile { background: #fff; }
.js .solx__tiles li { translate: 0 18px; transition: translate .7s var(--ease); transition-delay: calc(var(--i) * 60ms); }
.js .solx__tiles.is-in li { translate: 0 0; }
@media (hover: hover) {
  .solx__tile:hover { translate: 0 -5px; background: color-mix(in srgb, var(--fam) 18%, var(--board)); box-shadow: inset 0 0 0 1.5px var(--fam-ink); }
  :root[data-theme="light"] .solx__tile:hover { background: #fff; box-shadow: inset 0 0 0 1.5px var(--fam); }
  .solx__tile:hover .pican__play { opacity: 1; animation: glyphplay 2.4s steps(44) forwards; }
  .solx__tile:hover .pican__in { opacity: 1; animation: glyphpop 1.1s cubic-bezier(.3, 1.3, .5, 1) both; }
}
/* narrower laptops: the tiles get more of the row and the names a slightly smaller size, so no name leaves its tile */
@media (min-width: 1101px) and (max-width: 1340px) {
  .solx { grid-template-columns: minmax(0, .74fr) minmax(0, 1.4fr); gap: clamp(24px, 3.4vw, 56px); }
  .solx--flip { grid-template-columns: minmax(0, 1.4fr) minmax(0, .74fr); }
  .solx__tile { padding-inline: 6px; }
  .solx__name strong { font-size: .95rem; }
}
@media (max-width: 1100px) {
  .solx, .solx--flip { grid-template-columns: minmax(0, 1fr); gap: var(--sp-s); }
  .solx--flip .solx__text { order: 0; }
  .solx__text .fxgiant { max-inline-size: none; }
}
@media (max-width: 620px) {
  .solx { padding: 26px 14px; }
  .solx__text { padding-inline: 4px; }
  .solx__tiles, .solx__tiles[data-n="5"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .solx__tiles[data-n="5"] li, .solx__tiles[data-n="5"] li:nth-child(n + 4) { grid-column: auto; }
  .solx__tiles[data-n="5"] li:last-child { grid-column: 1 / -1; }
  .solx__tile { min-block-size: 132px; }
  .solx .picon { inline-size: 56px; }
  .solx__name strong { font-size: 1rem; white-space: normal; text-wrap: balance; }
}
@media (prefers-reduced-motion: reduce) { .js .solx__tiles li { translate: none; transition: none; } }

/* ---------- Contact (2026-11-24): no label above the title; the two columns share one height and fit the first screen ---------- */
@media (min-width: 901px) {
  .fxct { align-items: stretch; padding-block: calc(var(--header-h) + clamp(12px, 3svh, 40px)) clamp(22px, 4svh, 56px); }
  .fxct__info { grid-template-rows: auto 1fr auto auto; gap: clamp(10px, 2svh, 24px); }
  .fxct__info .fxgiant { font-size: clamp(3.2rem, min(1rem + 8.4vw, 17svh), 8.4rem); }
  .fxct__ways { margin-block-start: 0; }
  .fxct__ways div { padding-block: clamp(10px, 1.9svh, 20px); }
  .fxct__card { display: grid; }
  .fxct__card .form { grid-template-rows: auto auto minmax(0, 1fr) auto auto; block-size: 100%; }
  .fxct__card .form > .field:has(textarea) { grid-template-rows: auto minmax(96px, 1fr); }
  .fxct__card .field textarea { block-size: 0; min-block-size: 100%; resize: none; }
  .fxct__card .form__status:empty { block-size: 0; min-block-size: 0; margin-block-start: -16px; padding: 0; overflow: hidden; }
}

/* ---------- Review round 2026-11-24 (notes on the client's screen recording) ---------- */
/* a line break written as "\n" in a headline: off by default, on where the lines are known to fit */
.fxbr { display: none; }
/* English hero: the tail of a "g" met the top of the line under it */
html[lang="en"] .fxhero__title { line-height: 1.08; }
/* the wordmark in the top bar, 30% larger */
.fxtop__logo svg { block-size: clamp(26px, 2.47vw, 36px); }
.fxtop.is-scrolled .fxtop__logo svg { block-size: 23px; }
/* English display type: a little more room between lines so tails and tall letters never meet */
html[lang="en"] .fx { --fx-lh: 1.06; }
/* short blocks of text break into even lines, so no word is left alone on the last one (the property is inherited;
   browsers apply it to blocks of a few lines only). Long documents and the chat demo keep ordinary wrapping. */
.fx main, .fx .fxfoot { text-wrap: balance; }
.fx .lgl__doc { text-wrap: pretty; }
.fx .agx, .fx form { text-wrap: wrap; }
/* English product titles: three lines at most */
@media (min-width: 861px) { html[lang="en"] .pd__title { max-inline-size: none; font-size: clamp(2rem, 3.7vw, 3.5rem); } }
/* an Arabic word on an English page (the language switch) is set in the brand's Arabic face, not a system one */
html[lang="en"] { --font: "Area Inktrap", "Snaga Arabic Text", "Helvetica Neue", Arial, sans-serif; }

/* Engaz Agent headline: two lines, one sentence each */
@media (min-width: 861px) {
  .fxagent__head .fxgiant { max-inline-size: none; font-size: clamp(1.9rem, 1rem + 2.2vw, 3rem); }
  .fxagent__head .fxbr { display: inline; }
}

/* the two solutions: the headline in two lines beside the tiles, and a button that answers the pointer */
.solx { --fam-deep: #002eba; }
.solx[data-track="hydra"] { --fam-deep: #005c44; }
.solx .fxbtn { transition: background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease); }
@media (hover: hover) {
  .solx .fxbtn:hover { background: #fff; color: var(--fam-deep); }
  :root[data-theme="light"] .solx .fxbtn:hover { background: var(--fam-deep); color: #fff; }
}
/* The two solution panels as a pair (2026-11-26, after the user's review).
   The tile block is the same size in both panels, so the mirrored pair balances: real estate is four squares by two, HYDRA
   is three tiles over two wide ones on rows of the very same height, its sides straight from top to bottom. --tc is the
   number of square columns; the row height and the icon size are worked out from the grid's own width, so they match in
   both panels. Beside it the text runs the full height of the block: headline at the top, button at the bottom. */
.solx { --tg: clamp(8px, .9vw, 12px); --tc: 4; }
.solx__tiles { container-type: inline-size; grid-template-columns: repeat(var(--tc), minmax(0, 1fr)); gap: var(--tg); }
.solx__tiles[data-n="5"] { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.solx__tiles[data-n="5"] li { grid-column: span 2; }
.solx__tiles[data-n="5"] li:nth-child(n + 4) { grid-column: span 3; }
.solx__tile { aspect-ratio: 1; block-size: auto; min-block-size: 0; gap: clamp(8px, .9vw, 14px); padding: clamp(10px, 1vw, 16px) 8px; }
.solx__tile > .pican { inline-size: clamp(44px, 40%, 88px); }
.solx .pican .picon { inline-size: 100%; }
@supports (width: 1cqw) {
  .solx__tiles[data-n="5"] li { block-size: calc((100cqw - (var(--tc) - 1) * var(--tg)) / var(--tc)); }
  .solx__tiles[data-n="5"] .solx__tile { aspect-ratio: auto; block-size: 100%; }
  .solx__tile > .pican { inline-size: clamp(44px, calc(((100cqw - (var(--tc) - 1) * var(--tg)) / var(--tc) - 16px) * .4), 88px); }
}
/* where the panel is one column, the grid is held to a width that keeps the squares a sensible size */
@media (min-width: 621px) and (max-width: 1100px) {
  .solx__tiles { max-inline-size: 720px; }
  .solx__name strong { font-size: .95rem; }
  .solx__name .fxsoon { flex-basis: 100%; }
}
@media (max-width: 620px) { .solx { --tc: 3; } .solx__tile { min-block-size: 0; } }
@media (max-width: 460px) {
  .solx { --tc: 2; }
  .solx__tiles[data-n="5"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .solx__tiles[data-n="5"] li, .solx__tiles[data-n="5"] li:nth-child(n + 4) { grid-column: auto; }
  .solx__tiles[data-n="5"] li:last-child { grid-column: 1 / -1; }
}
@media (min-width: 1101px) {
  /* Arabic headline in two lines, English in three (its second sentence is too long for two at a headline size). The two
     sides share the panel evenly, the tiles never get less than 530px, and the size follows the longest line at each width. */
  .solx { grid-template-columns: minmax(0, 1fr) minmax(530px, 1fr); align-items: stretch; gap: clamp(28px, 4vw, 72px); }
  .solx--flip { grid-template-columns: minmax(530px, 1fr) minmax(0, 1fr); }
  .solx__text { grid-template-rows: auto minmax(0, 1fr) auto; align-content: stretch; }
  .solx__text .fxsec__lead { align-self: start; }
  .solx__text .fxbtn { align-self: end; margin-block-start: 0; }
  .solx__tiles { align-self: center; }
  .solx__text .fxgiant { max-inline-size: none; font-size: clamp(1.4rem, min(2.6vw, (85vw - 545px) / 17.6), 3.2rem); }
  html[lang="ar"] .solx__text .fxgiant { font-size: clamp(1.8rem, min(3vw, (85vw - 545px) / 13.9), 3.6rem); }
  .solx__text { gap: clamp(12px, 1.4vw, 22px); }
  .solx__text .fxsec__lead { max-inline-size: 60ch; font-size: clamp(1rem, .9rem + .2vw, 1.12rem); }
  html[lang="en"] .solx__text .fxsec__lead { line-height: 1.58; }
  .solx__text .fxbr { display: inline; }
  .solx__name strong { font-size: clamp(.84rem, .28rem + .68vw, 1.1rem); }
  .solx__name .fxsoon { flex-basis: 100%; }
}

/* what Engaz changes: the English statement in three lines, the closing sentence in two */
@media (min-width: 861px) {
  html[lang="en"] .fxlessons .fxgiant { max-inline-size: none; font-size: clamp(1.9rem, .5rem + 2.5vw, 3.2rem); }
  html[lang="en"] .fxlessons .fxbr { display: inline; }
  .fxlessons .fxsplit__closing { max-inline-size: none; text-wrap: balance; }
  html[lang="en"] .fxlessons .fxsplit__closing { font-size: clamp(1.05rem, .55rem + .82vw, 1.3rem); }
}

/* client marks: on hover the tile squares off, then the mark grows */
.fxlogos li { transition: border-radius .5s var(--ease), background-color .45s var(--ease); }
.fxlogos .fxmark { transition: opacity .3s var(--ease), background-color .45s var(--ease), scale .6s cubic-bezier(.22, 1, .36, 1); }
@media (hover: hover) {
  .fxlogos li:hover { border-radius: 0; transform: none; translate: none; }
  .fxlogos li:hover .fxmark { scale: 1.16; transition-delay: 0s, 0s, .18s; }
}

/* countries: every name on one line, every box the same width, the same gap everywhere. The column is as wide as the
   longest name needs; on phones the grid is two columns and the one long English name shows in its short form. */
.fxplaces--v3 .fxplaces__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
[dir="ltr"] .fxplaces--v3 .fxplaces__grid { grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); }
.fxplaces--v3 .fxplaces__grid li, [dir="ltr"] .fxplaces--v3 .fxplaces__grid li { min-inline-size: 0; min-block-size: 0; white-space: nowrap; }
.fxplaces__short { display: none; }
/* flags are round: a 4:3 flag inside a pill-shaped mask read as stretched */
.fxplaces--v3 .fxplaces__grid img { inline-size: 28px; block-size: 28px; border-radius: 50%; object-fit: cover; }
/* the same space above the section as below it */
.fxplaces.fxplaces--v3 { padding-block: var(--sp) 0; }
.fx main > .fxplaces.fxplaces--v3:last-child { padding-block: clamp(56px, 7vw, 104px); }
@media (max-width: 860px) {
  .fxplaces--v3 .fxplaces__grid, [dir="ltr"] .fxplaces--v3 .fxplaces__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .fxplaces__full { display: none; }
  .fxplaces__short { display: inline; }
}

/* footer statement: the button sits level with the middle of the statement */
.fxfoot__lead .fxfoot__closing { max-inline-size: none; }
@media (min-width: 901px) {
  .fxfoot__lead { align-items: center; }
  .fxfoot__lead .fxbtn { min-block-size: 64px; padding-inline: 38px; font-size: 1.15rem; }
}

/* cards: one slow, even curve for colour and lift */
.solx__tile { transition: background-color .55s var(--ease), box-shadow .55s var(--ease), translate .7s cubic-bezier(.22, 1, .36, 1); }
.fxproof__grid li, .fxproof__grid li:first-child { transition: background-color .55s var(--ease), color .45s var(--ease), translate .7s cubic-bezier(.22, 1, .36, 1); }
.fxproof__grid li b, .fxproof__grid li:first-child b, .fxproof__grid li span, .fxproof__grid li:first-child span, .fxproof__grid li strong { transition: color .45s var(--ease); }
.pdcaps__grid li { transition: background-color .55s var(--ease), translate .7s cubic-bezier(.22, 1, .36, 1); }
.fxplaces__grid li { transition: background-color .45s var(--ease), translate .6s cubic-bezier(.22, 1, .36, 1); }
.js .fxnx__grid li { transition: background-color .55s var(--ease), translate .7s cubic-bezier(.22, 1, .36, 1); }
.fxnx__grid h3, .fxnx__grid p { transition: color .45s var(--ease); }
.fxnx__ic { transition: background .45s var(--ease), color .45s var(--ease); }
.js .fxthink__grid li { opacity: 0; translate: none; transition: background-color .55s var(--ease), translate .7s cubic-bezier(.22, 1, .36, 1); transition-delay: 0s; }
.js .fxthink__grid.is-in li { opacity: 1; animation: fxup .75s var(--ease) calc(var(--i) * 55ms) backwards; }
@media (hover: hover) { .js .fxthink__grid li:hover { translate: 0 -4px; } }
@media (prefers-reduced-motion: reduce) {
  .js .fxthink__grid li, .js .fxthink__grid.is-in li { opacity: 1; animation: none; transition: none; }
  .fxlogos li, .fxlogos .fxmark, .solx__tile, .solx .fxbtn { transition: none; }
  .fxlogos li:hover .fxmark { scale: none; }
}

/* ---------- One hover for every card (2026-11-25): the product card's ----------
   A light rises from the bottom edge, the outline sharpens in the family colour, the card lifts and a short rule
   draws under its title. `--cardfam` is the colour of the family the card belongs to. */
.fx { --cardfam: var(--c-blue); --cardfam-ink: var(--fam-re); --sq: linear-gradient(180deg, #06107e 0%, #1f47ea 100%); }
.solx { --cardfam: var(--fam); --cardfam-ink: var(--fam-ink); }
.pd { --cardfam: var(--pc); }
.pd--hydra { --cardfam-ink: var(--fam-hydra); --sq: linear-gradient(180deg, #00343b 0%, #00824c 100%); }
:is(.solx__tile, .fxnx__grid li, .fxthink__grid li, .fxproof__grid li, .pdcaps__grid li, .pdrel__grid a) { position: relative; isolation: isolate; overflow: hidden; }
:is(.solx__tile, .fxnx__grid li, .fxthink__grid li, .fxproof__grid li, .pdcaps__grid li, .pdrel__grid a)::before { content: ""; position: absolute; z-index: -1; inset: 40% -20% -70%; background: radial-gradient(closest-side, color-mix(in srgb, var(--cardfam) 62%, transparent), transparent); opacity: 0; translate: 0 24%; transition: opacity .6s var(--ease), translate .8s cubic-bezier(.2, .8, .2, 1); pointer-events: none; }
:root[data-theme="light"] :is(.solx__tile, .fxnx__grid li, .fxthink__grid li, .fxproof__grid li, .pdcaps__grid li, .pdrel__grid a)::before { background: radial-gradient(closest-side, color-mix(in srgb, var(--cardfam) 22%, transparent), transparent); }
.solx__tile, .fxproof__grid li, .fxproof__grid li:first-child, .pdcaps__grid li, .pdrel__grid a, .js .fxnx__grid li, .js .fxthink__grid li { transition: background-color .45s var(--ease), box-shadow .45s var(--ease), color .45s var(--ease), translate .6s cubic-bezier(.2, .8, .2, 1); }
:is(.fxnx__grid h3, .fxthink__grid h3, .fxproof__grid strong, .pdcaps__grid strong, .pdrel__grid strong) { position: relative; padding-block-end: 9px; }
:is(.fxnx__grid h3, .fxthink__grid h3, .fxproof__grid strong, .pdcaps__grid strong, .pdrel__grid strong)::after { content: ""; position: absolute; inset-block-end: 0; inset-inline-start: 0; inline-size: 30px; block-size: 2px; border-radius: 2px; background: var(--cardfam-ink); scale: 0 1; transform-origin: 0 50%; transition: scale .5s var(--ease); }
[dir="rtl"] :is(.fxnx__grid h3, .fxthink__grid h3, .fxproof__grid strong, .pdcaps__grid strong, .pdrel__grid strong)::after { transform-origin: 100% 50%; }
.fxnx__grid p, .fxthink__grid p, .fxproof__grid li span, .fxproof__grid li:first-child span, .pdcaps__grid span, .pdrel__grid span { transition: color .45s var(--ease); }
@media (hover: hover) {
  .solx__tile:hover, :root[data-theme="light"] .solx__tile:hover { background: var(--board); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--cardfam) 85%, transparent); translate: 0 -6px; }
  :root[data-theme="light"] .solx__tile:hover { background: #fff; box-shadow: inset 0 0 0 1.5px var(--cardfam); }
  .js .fxnx__grid li:hover, .fxnx__grid li:hover, .js .fxthink__grid li:hover, .fxthink__grid li:hover, .fx .fxproof__grid li:hover, .pdcaps__grid li:hover, .pdrel__grid a:hover { background-color: var(--fx-panel); color: var(--fx-ink); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--cardfam) 85%, transparent); translate: 0 -6px; }
  :root[data-theme="light"] :is(.fxnx__grid li, .fxthink__grid li, .fxproof__grid li, .pdcaps__grid li, .pdrel__grid a):hover { box-shadow: inset 0 0 0 1.5px var(--cardfam); }
  :is(.solx__tile, .fxnx__grid li, .fxthink__grid li, .fxproof__grid li, .pdcaps__grid li, .pdrel__grid a):hover::before { opacity: .6; translate: 0 0; }
  :is(.solx__tile, .fxnx__grid li, .fxthink__grid li, .fxproof__grid li, .pdcaps__grid li, .pdrel__grid a):hover :is(.fxnx__grid h3, .fxthink__grid h3, .fxproof__grid strong, .pdcaps__grid strong, .pdrel__grid strong)::after { scale: 1 1; }
  .fx .fxproof__grid li:hover b { color: var(--c-blue); }
  :root:not([data-theme="light"]) .fx .fxproof__grid li:hover b { color: #accbff; }
  .fx .fxproof__grid li:hover strong { color: var(--fx-ink); }
  .fx .fxproof__grid li:hover span, .fxnx__grid li:hover p, .fxthink__grid li:hover p, .pdcaps__grid li:hover span, .pdrel__grid a:hover span { color: var(--fx-ink); }
}
@media (prefers-reduced-motion: reduce) { :is(.solx__tile, .fxnx__grid li, .fxthink__grid li, .fxproof__grid li, .pdcaps__grid li, .pdrel__grid a), :is(.solx__tile, .fxnx__grid li, .fxthink__grid li, .fxproof__grid li, .pdcaps__grid li, .pdrel__grid a)::before, :is(.fxnx__grid h3, .fxthink__grid h3, .fxproof__grid strong, .pdcaps__grid strong, .pdrel__grid strong)::after { transition: none; } }

/* ---------- Square icon holders take the product icons' shape and fill ---------- */
.pdcaps__grid b, .fxfoot__social a { border-radius: 26%; background: var(--sq); box-shadow: none; color: #fff; }
.fxfoot__social a { transition: translate .45s cubic-bezier(.2, .8, .2, 1), filter .35s var(--ease); }
@media (hover: hover) { .fxfoot__social a:hover { background: var(--sq); color: #fff; translate: 0 -4px; filter: brightness(1.18); } }

/* ---------- Agent demo, the lead's stage as a stepper (2026-11-25) ----------
   Three points on one line. The line fills as the lead moves: new, qualified once the score turns hot, meeting at the end. */
.agx__stages { --at: 0; --stg: #6ca0ff; --stg-line: rgba(172, 203, 255, .28); position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-block-start: 6px; }
:root[data-theme="light"] .agx__stages { --stg: #004dff; --stg-line: #d3ddf3; }
.agx.is-hot .agx__stages { --at: 1; }
.agx .agx__stages.is-on, .agx:not(.is-live) .agx__stages { --at: 2; }
.agx__stages::before, .agx__stages::after { content: ""; position: absolute; inset-block-start: 17px; inset-inline: calc(100% / 6); block-size: 2px; border-radius: 2px; background: var(--stg-line); }
.agx__stages::after { background: var(--stg); transform-origin: 0 50%; scale: calc(var(--at) / 2) 1; transition: scale .9s cubic-bezier(.22, 1, .36, 1); }
[dir="rtl"] .agx__stages::after { transform-origin: 100% 50%; }
.agx__stages li { position: relative; z-index: 1; display: grid; justify-items: center; gap: 9px; min-inline-size: 0; color: var(--fx-ink-2); font-size: .92rem; line-height: 1.3; text-align: center; transition: color .5s var(--ease); }
.agx__stages li i { position: relative; display: block; inline-size: 24px; block-size: 24px; border-radius: 50%; background: var(--fx-bg); box-shadow: inset 0 0 0 2px var(--stg-line); transition: background-color .5s var(--ease), box-shadow .5s var(--ease); }
.agx__stages li i::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--stg); scale: 0; transition: scale .5s cubic-bezier(.3, 1.4, .5, 1); }
.agx__stages li i::after { content: ""; position: absolute; inset-block-start: 6.5px; inset-inline-start: 9px; inline-size: 5px; block-size: 9px; border: solid #fff; border-width: 0 2px 2px 0; rotate: 45deg; opacity: 0; transition: opacity .35s var(--ease); }
:root:not([data-theme="light"]) .agx__stages li i::after { border-color: #00024c; }
/* the step the lead is on: a ring with a dot */
.agx__stages li:first-child, .agx.is-hot .agx__stages li:nth-child(2), .agx__stages.is-on li, .agx:not(.is-live) .agx__stages li { color: var(--fx-ink); }
.agx__stages li:first-child i, .agx.is-hot .agx__stages li:nth-child(2) i { box-shadow: inset 0 0 0 2px var(--stg); }
.agx__stages li:first-child i::before, .agx.is-hot .agx__stages li:nth-child(2) i::before { scale: 1; }
/* a step that is behind the lead, and the last one once it is reached: filled, with a tick */
.agx.is-hot .agx__stages li:first-child i, .agx__stages.is-on li i, .agx:not(.is-live) .agx__stages li i { background: var(--stg); box-shadow: inset 0 0 0 2px var(--stg); }
.agx.is-hot .agx__stages li:first-child i::before, .agx__stages.is-on li i::before, .agx:not(.is-live) .agx__stages li i::before { scale: 0; }
.agx.is-hot .agx__stages li:first-child i::after, .agx__stages.is-on li i::after, .agx:not(.is-live) .agx__stages li i::after { opacity: 1; }
.agx__stages.is-on li:last-child i { animation: ilpop .6s cubic-bezier(.34, 1.56, .64, 1) both; }
.agx.is-hot .agx__stages:not(.is-on) li:nth-child(2) i { animation: stgpulse 1.8s ease-out infinite; }
@keyframes stgpulse { from { box-shadow: inset 0 0 0 2px var(--stg), 0 0 0 0 color-mix(in srgb, var(--stg) 55%, transparent); } to { box-shadow: inset 0 0 0 2px var(--stg), 0 0 0 9px transparent; } }
@media (max-width: 620px) { .agx__stages li { font-size: .84rem; } }
@media (prefers-reduced-motion: reduce) { .agx__stages::after, .agx__stages li i, .agx__stages li i::before, .agx__stages li i::after { transition: none; animation: none !important; } }

/* ---------- The curtain (2026-11-25): the designer's artwork in full, in layers ----------
   Under everything, the artwork itself. Over it a soft field of light that drifts slowly. On top, the curtain's two wings
   (a vector, so the light never spills past the edge) and the shade that keeps the type readable and ends in the page colour. */
:root:not([data-theme="light"]) :is(.fxhero__bg, .fxabh__bg, .fxct__bg, .fxsh__bg) { overflow: hidden; background: #00024c url("../img/bg-curtain.webp") 50% 0 / cover no-repeat; }
:root:not([data-theme="light"]) :is(.fxhero__bg, .fxabh__bg, .fxct__bg, .fxsh__bg)::before { content: ""; position: absolute; inset: -14%; background: radial-gradient(34% 30% at 55% 22%, rgba(206, 228, 255, .26), transparent 72%), radial-gradient(26% 30% at 70% 34%, rgba(52, 214, 140, .14), transparent 74%), radial-gradient(34% 38% at 36% 50%, rgba(30, 100, 255, .32), transparent 74%); animation: curtainlight 20s ease-in-out infinite alternate; will-change: transform; }
:root:not([data-theme="light"]) :is(.fxhero__bg, .fxabh__bg, .fxct__bg, .fxsh__bg)::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 6, 100, .76) 0%, rgba(0, 6, 100, .56) 16%, rgba(0, 6, 100, .6) 40%, rgba(0, 6, 100, .61) 60%, rgba(0, 4, 88, .3) 73%, rgba(0, 2, 76, 0) 85%, var(--fx-bg) 100%) 0 0 / 100% 100% no-repeat, url("../img/curtain.svg") 50% 0 / cover no-repeat; }
:root:not([data-theme="light"]) :is(.fxabh, .fxsh, .fxct__info) :is(.fxkick, .fxsec__lead) { color: #fff; }
/* the artwork no longer grows as the page scrolls: that pushed its soft lower edge out of the section and left a hard line */
.fxhero .fxhero__bg { scale: 1; }
/* the page no longer bounces past its top edge: the bounce pulled the artwork down and showed its straight upper edge
   under the fixed top bar (on phones this also switches off pull-to-refresh) */
html { overscroll-behavior-y: none; }
@keyframes curtainlight { 0% { transform: translate3d(-5%, -2%, 0) scale(1); } 50% { transform: translate3d(2.5%, 3%, 0) scale(1.08); } 100% { transform: translate3d(6%, -1.5%, 0) scale(1.02); } }
@media (max-width: 860px) {
  /* a phone is taller than the artwork is wide, so the artwork is set wider than the screen and the whole curtain shows at the top */
  :root:not([data-theme="light"]) :is(.fxhero__bg, .fxabh__bg, .fxct__bg, .fxsh__bg) { background-size: 230% auto; container-type: inline-size; }
  /* the artwork is 129.375% of the section's width tall here and the section is taller than that, so a band melts the
     artwork's lower edge into the page colour exactly where it ends (vw first for browsers without container units) */
  :root:not([data-theme="light"]) :is(.fxhero__bg, .fxabh__bg, .fxct__bg, .fxsh__bg)::after { background: linear-gradient(180deg, rgba(0, 2, 76, 0) 0%, rgba(0, 2, 76, .08) 26%, rgba(0, 2, 76, .3) 50%, rgba(0, 2, 76, .66) 76%, var(--fx-bg) 100%) 0 61.375vw / 100% 68vw no-repeat, linear-gradient(180deg, var(--fx-bg), var(--fx-bg)) 0 129.375vw / 100% 100% no-repeat, linear-gradient(180deg, rgba(0, 6, 100, .76) 0%, rgba(0, 6, 100, .56) 16%, rgba(0, 6, 100, .6) 40%, rgba(0, 6, 100, .61) 60%, rgba(0, 4, 88, .3) 73%, rgba(0, 2, 76, 0) 85%, var(--fx-bg) 100%) 0 0 / 100% 100% no-repeat, url("../img/curtain.svg") 50% 0 / 230% auto no-repeat; background: linear-gradient(180deg, rgba(0, 2, 76, 0) 0%, rgba(0, 2, 76, .08) 26%, rgba(0, 2, 76, .3) 50%, rgba(0, 2, 76, .66) 76%, var(--fx-bg) 100%) 0 61.375cqw / 100% 68cqw no-repeat, linear-gradient(180deg, var(--fx-bg), var(--fx-bg)) 0 129.375cqw / 100% 100% no-repeat, linear-gradient(180deg, rgba(0, 6, 100, .76) 0%, rgba(0, 6, 100, .56) 16%, rgba(0, 6, 100, .6) 40%, rgba(0, 6, 100, .61) 60%, rgba(0, 4, 88, .3) 73%, rgba(0, 2, 76, 0) 85%, var(--fx-bg) 100%) 0 0 / 100% 100% no-repeat, url("../img/curtain.svg") 50% 0 / 230% auto no-repeat; }
}
@media (prefers-reduced-motion: reduce) { :root:not([data-theme="light"]) :is(.fxhero__bg, .fxabh__bg, .fxct__bg, .fxsh__bg)::before { animation: none; } }

/* ---------- Reviewer's notes, 2026-11-26: smooth scrolling, easing, the green product sections ---------- */
/* Lenis (src/assets/js/vendor): its own stylesheet, and the browser's smooth scrolling steps aside while it runs */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent], .lenis [data-lenis-prevent-wheel], .lenis [data-lenis-prevent-touch], .lenis [data-lenis-prevent-vertical], .lenis [data-lenis-prevent-horizontal] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }
.lenis.lenis-autoToggle { transition-property: overflow; transition-duration: 1ms; transition-behavior: allow-discrete; }

/* buttons move on curves: colour settles on a long ease-out, the press and the hover grow spring back a touch */
.fx { --ease-out: cubic-bezier(.22, 1, .36, 1); --ease-spring: cubic-bezier(.34, 1.56, .64, 1); }
.fx .fxbtn { transition: background-color .45s var(--ease-out), color .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .45s var(--ease-out), translate .35s var(--ease-out), scale .55s var(--ease-spring); }
@media (hover: hover) { .fx .fxbtn:hover { scale: 1.03; } .fx .form .fxbtn:hover { scale: 1.01; } }
.fx .fxbtn:active { scale: .97; transition-duration: .45s, .45s, .45s, .45s, .35s, .14s; }
@media (prefers-reduced-motion: reduce) { .fx .fxbtn, .fx .fxbtn:hover, .fx .fxbtn:active { scale: none; transition-duration: .01s; } }

/* ribbons slow to a stop in script (main.js); the instant pause is only the fallback */
.marquee.is-eased:hover .marquee__track { animation-play-state: running; }

/* an accordion that is closing turns its plus back at once, not when the height has finished */
.fxacc details.is-closing summary i { rotate: 0deg; }
.fxacc summary i { transition: rotate .56s cubic-bezier(.22, 1, .36, 1); }

/* the green product sections (HYDRA, 09 and 10 in the stack): the button's text, its hover fill and the icon's depth
   are the family's deep green #00343b, not the blue of the real estate sections */
.fxstep[data-group="hydra"] .fxbtn--white { color: #00343b; }
@media (hover: hover) {
  .fx .fxstep[data-group="hydra"] .fxbtn--white:hover, :root[data-theme="light"] .fx .fxstep[data-group="hydra"] .fxbtn--white:hover { background: #00343b; color: #fff; }
}
.fx .fxstep[data-group="hydra"] .iso, :root[data-theme="light"] .fx .fxstep[data-group="hydra"] .iso { --edge: #00343b; }
.fx .fxstep[data-group="hydra"] .iso__shadow { background: rgba(0, 52, 59, .55); }

/* ---------- Legal pages (privacy, terms): a typeset document ----------
   Markup comes from renderLegal() in src/templates/inner.mjs:
   .lgl > .lgl__head + .lgl__grid[dir][lang] > (.lgl__toc) + .lgl__doc > (.lgl__intro) + .lgl__sec*
   The grid carries the language of the text itself, which can differ from the page (English text on
   the Arabic page), so type settings hang off its own lang attribute, not the one on <html>.
   Flat: hairlines only, opaque text colours, logical properties throughout. */

.lgl { --lgl-accent: #accbff; --lgl-measure: 70ch; --lgl-toc: 16rem; --lgl-gap: clamp(40px, 6vw, 112px); }
:root[data-theme="light"] .lgl { --lgl-accent: var(--c-blue); }

.lgl__head { margin-block-end: var(--sp-s); }

/* A narrower box than the page sits at the page's start edge, so the document stays under its title in both directions. */
.lgl__grid { --lgl-w: 400; --lgl-strong: var(--w-strong); --lgl-lh: 1.85; --lgl-hlh: 1.5; display: grid; grid-template-columns: minmax(0, 1fr); row-gap: var(--sp-s); max-inline-size: var(--lgl-measure); color: var(--fx-ink-2); font-size: clamp(1rem, .95rem + .25vw, 1.125rem); font-weight: var(--lgl-w); line-height: var(--lgl-lh); letter-spacing: 0; text-align: start; }
.lgl__grid[lang="ar"] { --lgl-strong: 700; font-family: "Snaga Arabic Text", "Area Inktrap", "Segoe UI", Tahoma, sans-serif; }
.lgl__grid[lang="en"] { --lgl-w: 300; --lgl-strong: 500; --lgl-lh: 1.7; --lgl-hlh: 1.25; font-family: "Area Inktrap", "Helvetica Neue", Arial, sans-serif; }

/* ----- Contents ----- */
.lgl__toc { min-inline-size: 0; }
.lgl__toc-h { padding-block-end: 12px; color: var(--fx-ink); font-size: 1rem; font-weight: var(--lgl-strong); line-height: 1.5; }
.lgl__toc ol { counter-reset: lgl-toc; border-block-start: 1px solid var(--fx-line); }
.lgl__toc li { counter-increment: lgl-toc; border-block-end: 1px solid var(--fx-line); }
.lgl__toc a { position: relative; display: block; padding-block: 11px; padding-inline-start: 2.5em; color: var(--fx-ink-2); font-size: 1rem; line-height: 1.5; transition: color .2s var(--ease); }
.lgl__toc a::before { content: counter(lgl-toc, decimal-leading-zero); position: absolute; inset-inline-start: 0; color: var(--lgl-accent); font-variant-numeric: tabular-nums; }
.lgl__toc a:focus-visible { outline-offset: -2px; }

/* ----- Document ----- */
.lgl__doc { counter-reset: lgl-sec; min-inline-size: 0; overflow-wrap: break-word; }
.lgl__doc p { text-wrap: pretty; }
.lgl__doc strong { color: var(--fx-ink); font-weight: var(--lgl-strong); }
.lgl__doc a { color: var(--lgl-accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .28em; overflow-wrap: anywhere; transition: color .2s var(--ease); }
.lgl__grid[lang="ar"] .lgl__doc a { text-underline-offset: .42em; }

.lgl__intro > * + *, .lgl__sec > * + * { margin-block-start: 1em; }
.lgl__intro > p { color: var(--fx-ink); font-size: var(--fs-lead); }
.lgl__intro > .lgl__meta { color: var(--fx-ink-2); font-size: 1rem; }

/* A numbered section: hairline above, the number over the heading. */
.lgl__sec { counter-increment: lgl-sec; counter-reset: lgl-sub; margin-block-start: clamp(40px, 5vw, 72px); padding-block-start: clamp(20px, 2.4vw, 32px); border-block-start: 1px solid var(--fx-line); }
.lgl__doc > .lgl__sec:first-child { margin-block-start: 0; }
.lgl__h2 { color: var(--fx-ink); font-size: clamp(1.375rem, 1.15rem + 1vw, 2rem); font-weight: var(--lgl-strong); line-height: var(--lgl-hlh); letter-spacing: 0; text-wrap: balance; }
.lgl__h2::before { content: counter(lgl-sec, decimal-leading-zero); display: block; margin-block-end: 6px; color: var(--lgl-accent); font-size: 1rem; font-weight: var(--lgl-strong); line-height: 1.5; font-variant-numeric: tabular-nums; }
.lgl__h3 { counter-increment: lgl-sub; color: var(--fx-ink); font-size: clamp(1.125rem, 1.05rem + .4vw, 1.375rem); font-weight: var(--lgl-strong); line-height: var(--lgl-hlh); letter-spacing: 0; text-wrap: balance; }
.lgl__h3::before { content: counter(lgl-sec) "." counter(lgl-sub); display: inline-block; margin-inline-end: .6em; color: var(--fx-ink-2); font-variant-numeric: tabular-nums; direction: ltr; }
.lgl__h4 { color: var(--fx-ink); font-size: inherit; font-weight: var(--lgl-strong); line-height: var(--lgl-hlh); letter-spacing: 0; }
.lgl__sec > .lgl__h3 { margin-block-start: clamp(28px, 3vw, 40px); }
.lgl__sec > .lgl__h4 { margin-block-start: clamp(24px, 2.4vw, 32px); }
.lgl__sec > .lgl__h2 + .lgl__h3 { margin-block-start: clamp(20px, 2.2vw, 28px); }
.lgl__sec > .lgl__h3 + .lgl__h4 { margin-block-start: 16px; }
.lgl__sec > :is(.lgl__h3, .lgl__h4) + * { margin-block-start: .6em; }

/* Lists: a short rule as the marker; an item can hold several paragraphs. */
.lgl__list { display: grid; row-gap: .65em; }
.lgl__list > li { position: relative; min-inline-size: 0; padding-inline-start: 1.6em; }
.lgl__list > li::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: calc(var(--lgl-lh) * .5em - 1px); inline-size: .75em; block-size: 2px; background: var(--lgl-accent); }
.lgl__list p + p { margin-block-start: .15em; }

@media (hover: hover) {
  .lgl__toc a:hover, .lgl__doc a:hover { color: var(--fx-ink); }
}

/* Wide screens: the contents list stays in view beside the text. */
@media (min-width: 1024px) {
  .lgl__grid--toc { grid-template-columns: var(--lgl-toc) minmax(0, 1fr); column-gap: var(--lgl-gap); align-items: start; max-inline-size: calc(var(--lgl-toc) + var(--lgl-gap) + var(--lgl-measure)); }
  .lgl__grid--toc .lgl__toc { position: sticky; inset-block-start: calc(var(--header-h) + 24px); max-block-size: calc(100vh - var(--header-h) - 48px); overflow-y: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .lgl__toc a, .lgl__doc a { transition: none; }
}

@media print {
  .lgl__grid--toc { display: block; max-inline-size: none; }
  .lgl__toc { display: none; }
  .lgl__sec { break-inside: auto; }
  .lgl__h2, .lgl__h3, .lgl__h4 { break-after: avoid; }
}

/* ============================================================
   Page not found (2026-11-27). Same page top as the inner pages; the number sits behind the copy as an outline.
   ============================================================ */
.nf { display: grid; align-content: center; min-block-size: min(86svh, 900px); }
.nf .fxph__main--visual { grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); align-items: center; }
.nf .fxph__actions { gap: 10px; }
.nf__num { margin: 0; font-family: "Area Inktrap", sans-serif; font-weight: 700; font-size: clamp(120px, 19vw, 300px); line-height: .82; letter-spacing: -.03em; text-align: right; color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--fx-ink) 30%, transparent); -webkit-user-select: none; user-select: none; }
/* the number is always written left to right, so its side is set by hand: the outer edge, away from the copy */
html[dir="rtl"] .nf__num { text-align: left; }
.nf__other { margin: 0; padding: 0 var(--g) clamp(32px, 5vw, 64px); color: var(--fx-ink-2); font-size: .95rem; text-align: start; }
.nf__other a { color: var(--fx-ink); text-decoration: underline; text-underline-offset: .22em; }
@media (hover: hover) { .nf__other a:hover { color: var(--blue-300); } }
:root[data-theme="light"] .nf__other a:hover { color: var(--blue); }
@media (max-width: 900px) {
  .nf { min-block-size: 0; }
  .nf .fxph__main--visual { grid-template-columns: minmax(0, 1fr); }
  .nf__num { order: -1; margin-block-start: .12em; font-size: clamp(96px, 34vw, 220px); text-align: left; }
  html[dir="rtl"] .nf__num { text-align: right; }
}
