:root {
  --deep: #061331;
  --navy: #0a1f44;
  --navy-2: #12305f;
  --blue: #09408b;
  --blue-2: #1763c6;
  --sky: #7db2ee;
  --ice: #e9f1fc;
  --line: #dde3ec;
  --page: #f5f7fb;
  --ink: #101f3a;
  --muted: #55637b;
  --on-dark: #c5d3e8;
  --mint: #1fae7a;
  --wrap: 1280px;
  --gut: clamp(16px, 4vw, 32px);
  --head: "AMS Head", "AMS Body", Tahoma, sans-serif;
  --font: "AMS Body", Tahoma, sans-serif;
  --glow: radial-gradient(900px 520px at 80% -10%, rgba(23, 99, 198, .5), transparent 70%), radial-gradient(760px 520px at 6% 112%, rgba(9, 64, 139, .75), transparent 70%), linear-gradient(160deg, var(--deep), #0a2350 62%, #0b2c63);
}
html[lang="ar"] { --lh: 1.85; --head-lh: 1.5; }
html[lang="en"] { --lh: 1.62; --head-lh: 1.2; }
html[dir="rtl"] { --dir: 1; }
html[dir="ltr"] { --dir: -1; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 17px/var(--lh) var(--font); overflow-x: clip; }
img, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; line-height: var(--head-lh); margin: 0; }
h1 { font-size: clamp(32px, 3.5vw, 50px); text-wrap: balance; }
h2 { font-size: clamp(26px, 2.7vw, 38px); color: var(--navy); text-wrap: balance; }
h3 { font-size: 20px; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.band { padding-block: 76px; }
.band--page { background: var(--page); }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--blue); color: #fff; padding: 8px 16px; border-radius: 8px; z-index: 50; }
.skip:focus { top: 8px; }
.head { max-width: 720px; margin-bottom: 34px; }
.head p { color: var(--muted); margin-top: 10px; font-size: 18px; }
.more { color: var(--blue); font-weight: 600; font-size: 16px; text-underline-offset: 4px; }

html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--d, 0) * 90ms); }
html.js .reveal.in { opacity: 1; transform: none; }

.btn { display: inline-block; padding: 13px 28px; border-radius: 10px; font: 600 16px/1.4 var(--font); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .18s, background-color .18s, box-shadow .18s; }
.btn:hover { transform: translateY(-2px); }
.btn--blue { background: linear-gradient(135deg, var(--blue-2), var(--blue)); color: #fff; box-shadow: 0 10px 22px -10px rgba(9, 64, 139, .8); }
.btn--white { background: #fff; color: var(--blue); box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .55); }
.btn--line { border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn--line:hover { background: rgba(255, 255, 255, .1); }

/* Header */
.top { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .98); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 44px; height: 76px; }
.logo img { height: 56px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; font-size: 16px; padding-block: 25px; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--blue); }
.nav a[aria-current="page"] { color: var(--blue); font-weight: 600; border-bottom-color: var(--blue); }
.top-side { display: flex; align-items: center; gap: 22px; margin-inline-start: auto; }
.lang { text-decoration: none; font-size: 15px; color: var(--blue); font-weight: 600; }
.top .btn { padding: 9px 20px; font-size: 15px; }
.burger { display: none; background: none; border: 0; padding: 10px; margin-inline-start: auto; cursor: pointer; }
.burger span { display: block; width: 26px; height: 2px; background: var(--blue); margin-block: 6px; }

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--glow); color: #fff; padding-block: 66px 0; }
.hero > canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.hero-copy p { color: var(--on-dark); font-size: 18.5px; margin-top: 18px; max-width: 50ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
html.js:not(.fonts) { background: var(--deep); }
html.js:not(.fonts) body { visibility: hidden; animation: unhide 0s 3.5s forwards; }
@keyframes unhide { to { visibility: visible; } }
html.js:not(.fonts) .hero-copy { opacity: 0; }
html.js.fonts .hero-copy > * { animation: rise .75s cubic-bezier(.2, .7, .2, 1) both; }
html.js.fonts .hero-copy > :nth-child(2) { animation-delay: .1s; }
html.js.fonts .hero-copy > :nth-child(3) { animation-delay: .2s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

.stage { position: relative; perspective: 1500px; --rx: 3deg; --ry: calc(var(--dir) * 7deg); }
.stage .app { transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .35s ease-out; transform-style: preserve-3d; animation: lift 1s cubic-bezier(.2, .7, .2, 1) .1s both; box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .7), 0 0 90px -20px rgba(23, 99, 198, .7); }
@keyframes lift { from { opacity: 0; translate: 0 50px; } }
.float { position: absolute; display: flex; gap: 10px; align-items: center; background: #fff; color: var(--ink); border-radius: 12px; padding: 10px 14px; box-shadow: 0 24px 40px -16px rgba(3, 12, 36, .65); font-size: 13.5px; line-height: 1.4; animation: bob 5s ease-in-out infinite; z-index: 3; }
.float b { display: block; font-weight: 600; }
.float small { color: var(--muted); font-size: 12px; }
.float i { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: #dff6ec; color: var(--mint); font-style: normal; font-weight: 700; }
.f1 { bottom: -20px; inset-inline-end: -8px; }
.f2 { top: -20px; inset-inline-start: 34%; animation-delay: -2.4s; }
.f2 i { background: var(--ice); color: var(--blue-2); }
@keyframes bob { 50% { transform: translateY(-10px); } }

.hero-partners { display: flex; align-items: center; gap: 18px 26px; flex-wrap: wrap; margin-top: 52px; padding-block: 18px; border-top: 1px solid rgba(255, 255, 255, .14); }
.hero-partners span { color: var(--on-dark); font-size: 15px; }
.hero-partners ul { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-partners li { background: #fff; border-radius: 8px; padding: 5px 10px; height: 54px; display: grid; place-items: center; }
.hero-partners img { height: 44px; width: auto; }

/* App window */
.app { background: #fff; color: var(--ink); border-radius: 14px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .25); font-size: 13px; line-height: 1.5; }
.app-bar { display: flex; align-items: center; gap: 10px; height: 44px; padding-inline: 14px; border-bottom: 1px solid var(--line); background: #fbfcfe; }
.app-bar img { height: 20px; width: auto; }
.app-bar b { font-weight: 600; font-size: 13.5px; }
.app-bar .search { margin-inline-start: 14px; flex: 1; max-width: 240px; height: 26px; border-radius: 7px; background: #eef2f8; color: #8592a8; font-size: 12px; padding-inline: 10px; display: flex; align-items: center; }
.live { margin-inline-start: auto; display: flex; align-items: center; gap: 6px; color: var(--mint); font-size: 12px; font-weight: 500; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.app-body { display: grid; grid-template-columns: 50px minmax(0, 1fr); }
.rail { background: var(--navy); display: flex; flex-direction: column; align-items: center; gap: 6px; padding-block: 12px; }
.rail span { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; }
.rail span:first-child { background: var(--blue-2); }
.rail svg { width: 18px; height: 18px; stroke: #dbe6f6; }
.app-main { padding: 14px; background: var(--page); display: grid; gap: 12px; align-content: start; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.kpi > span { color: var(--muted); font-size: 12px; display: block; }
.kpi b { display: block; font-size: 17px; font-weight: 600; direction: ltr; text-align: start; }
html[dir="rtl"] .kpi b { text-align: right; }
.kpi em { font-style: normal; font-size: 11.5px; color: var(--mint); direction: ltr; display: inline-block; }
.kpi em.down { color: #d0524a; }
.split { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 10px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px; min-width: 0; }
.panel h4 { font-family: var(--font); font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.panel svg.chart { width: 100%; height: auto; display: block; }
.draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: dash 1.8s .3s ease-out forwards; }
.fade-area { opacity: 0; animation: fin .9s 1.2s forwards; }
@keyframes dash { to { stroke-dashoffset: 0; } }
@keyframes fin { to { opacity: 1; } }
.feed li { display: flex; justify-content: space-between; gap: 8px; padding-block: 6px; border-top: 1px solid #edf0f5; font-size: 12px; }
.feed li:first-child { border-top: 0; }
.feed .new { animation: slidein .45s ease-out; background: linear-gradient(90deg, #e8f7f0, transparent); }
@keyframes slidein { from { opacity: 0; transform: translateY(-10px); } }
.feed b { font-weight: 500; }
.feed span { color: var(--muted); direction: ltr; }

/* Facts */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: 26px; }
.fact { padding-inline: 28px; border-inline-start: 1px solid var(--line); display: flex; align-items: center; gap: 14px; }
.fact:first-child { border-inline-start: 0; padding-inline-start: 0; }
.fact b { font: 700 36px/1 var(--head); color: var(--blue); direction: ltr; }
.fact > span { font-size: 15.5px; line-height: 1.45; }

/* Tour */
.tour-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 26px; align-items: start; }
.tour-tabs { display: grid; gap: 8px; }
.tour-tab { position: relative; overflow: hidden; text-align: start; width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 13px 18px; cursor: pointer; font: inherit; color: inherit; transition: background-color .2s, box-shadow .2s; }
.tour-tab b { display: block; font-weight: 600; font-size: 16.5px; line-height: 1.45; }
.tour-tab small { display: block; color: var(--muted); font-size: 14px; line-height: 1.5; }
.tour-tab:hover { background: var(--ice); }
.tour-tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 18px 30px -18px rgba(10, 31, 68, .8); }
.tour-tab[aria-selected="true"] small { color: var(--on-dark); }
.tour-tab i { position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: var(--sky); transform: scaleX(0); transform-origin: right; }
html[dir="ltr"] .tour-tab i { transform-origin: left; }
.tour-tab.run i { animation: fill var(--t, 8s) linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }
.tour-view .app { box-shadow: 0 40px 70px -40px rgba(10, 31, 68, .55); border-color: var(--line); }
.screen[hidden] { display: none; }
.screen { min-height: 380px; padding: 16px; background: var(--page); display: grid; gap: 12px; align-content: start; animation: fin .35s both; opacity: 0; }
.screen-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 14px; }
.screen-foot small { color: var(--muted); font-size: 13.5px; }

.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th { color: var(--muted); font-weight: 500; font-size: 12px; text-align: start; padding: 4px 8px 8px; }
.table td { border-top: 1px solid #edf0f5; padding: 8px; }
.table .num { direction: ltr; text-align: end; }
.meter { display: block; height: 6px; border-radius: 3px; background: #e7ecf4; overflow: hidden; min-width: 60px; }
.meter i { display: block; height: 100%; width: var(--v); background: linear-gradient(90deg, var(--blue-2), var(--sky)); border-radius: 3px; transform-origin: left; animation: grow 1.1s cubic-bezier(.2, .7, .2, 1) both; }
html[dir="rtl"] .meter i { margin-inline-start: 0; transform-origin: right; }
@keyframes grow { from { transform: scaleX(0); } }
.chat { display: grid; gap: 8px; align-content: start; }
.bub { padding: 8px 12px; border-radius: 12px; font-size: 13px; line-height: 1.6; max-width: 92%; }
.bub--me { background: var(--blue); color: #fff; justify-self: start; border-end-start-radius: 3px; }
.bub--ai { background: var(--ice); justify-self: end; border-end-end-radius: 3px; min-height: 58px; }
.bub--ai b { display: block; font-size: 11.5px; color: var(--blue-2); font-weight: 600; }
.caret::after { content: ""; display: inline-block; width: 2px; height: 1em; background: var(--blue-2); margin-inline-start: 2px; vertical-align: -2px; animation: blink .8s infinite; }

.syncmap { display: grid; grid-template-columns: minmax(0, 1.1fr) 70px minmax(0, .8fr) minmax(0, 1.5fr); align-items: center; gap: 0; }
.syncmap ul.pf { display: grid; gap: 10px; }
.syncmap .pf li { height: 44px; background: #fff; border: 1px solid var(--line); border-radius: 9px; display: flex; align-items: center; justify-content: center; font-weight: 500; font-size: 13.5px; }
.syncmap svg { width: 70px; height: 206px; }
html[dir="rtl"] .syncmap svg { transform: scaleX(-1); }
.syncmap .core { background: linear-gradient(145deg, var(--blue-2), var(--navy)); color: #fff; border-radius: 12px; height: 120px; display: grid; place-items: center; text-align: center; font-weight: 600; font-size: 14px; box-shadow: 0 0 0 7px rgba(23, 99, 198, .14); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 13px rgba(23, 99, 198, .06); } }
.synclog { margin-inline-start: 20px; height: 206px; overflow: hidden; }
.synclog li { padding: 7px 0; border-top: 1px solid #edf0f5; font-size: 12.5px; display: flex; gap: 7px; align-items: baseline; }
.synclog li::before { content: "\2713"; color: var(--mint); font-weight: 700; }

.bars { display: flex; align-items: flex-end; gap: 14px; height: 170px; padding-top: 8px; }
.bars div { flex: 1; display: flex; align-items: flex-end; justify-content: center; gap: 3px; height: 100%; }
.bars i { width: 38%; height: var(--v); border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--blue-2), var(--blue)); transform-origin: bottom; animation: rise-b .9s cubic-bezier(.2, .7, .2, 1) calc(var(--i) * 70ms) both; }
.bars i + i { background: #c6d6ec; }
@keyframes rise-b { from { transform: scaleY(0); } }
.legend { display: flex; gap: 14px; font-size: 12px; color: var(--muted); margin-top: 8px; }
.legend span::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 2px; background: var(--blue); margin-inline-end: 5px; }
.legend span + span::before { background: #c6d6ec; }

.closebar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.closebar li { font-size: 12px; line-height: 1.4; padding-top: 8px; position: relative; color: var(--muted); }
.closebar li::before, .closebar li::after { content: ""; position: absolute; top: 0; inset-inline: 0; height: 4px; border-radius: 2px; background: #e1e7f0; }
.closebar li::after { background: var(--mint); transform: scaleX(0); transform-origin: right; animation: fill .6s calc(.5s + var(--i) * .55s) forwards; }
html[dir="ltr"] .closebar li::after { transform-origin: left; }
.st { display: inline-block; padding: 1px 9px; border-radius: 20px; font-size: 11.5px; background: #fff3dd; color: #94690b; position: relative; min-width: 62px; text-align: center; }
.st::after { content: attr(data-ok); position: absolute; inset: 0; border-radius: 20px; background: #dff6ec; color: #11734f; display: grid; place-items: center; opacity: 0; animation: fin .3s calc(.45s + var(--i) * .4s) forwards; }
.roas { font-weight: 600; color: var(--blue); direction: ltr; text-align: end; }

/* Journey */
.journey { position: relative; isolation: isolate; background: var(--glow); color: #fff; padding-block: 72px; }
.journey h2 { color: #fff; margin-bottom: 44px; }
.jpath { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; --p: 0; }
.jpath::before, .jpath::after { content: ""; position: absolute; top: 9px; inset-inline: 0; height: 2px; background: rgba(255, 255, 255, .2); }
.jpath::after { background: linear-gradient(90deg, var(--sky), #fff); transform: scaleX(var(--p)); transform-origin: right; }
html[dir="ltr"] .jpath::after { transform-origin: left; }
.jpath a { position: relative; z-index: 1; display: block; text-decoration: none; padding-top: 36px; }
.jpath a::before { content: ""; position: absolute; top: 0; inset-inline-start: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--navy-2); border: 3px solid var(--sky); transition: background-color .3s, box-shadow .3s; }
.jpath a.on::before { background: #fff; box-shadow: 0 0 0 7px rgba(125, 178, 238, .28); }
.jpath b { display: block; font-weight: 600; font-size: 18px; line-height: 1.45; }
.jpath small { display: block; color: var(--on-dark); font-size: 15px; line-height: 1.55; margin-top: 4px; }
.jpath a:hover b { text-decoration: underline; text-underline-offset: 4px; }

/* Modules */
.mods-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(30px, 5vw, 64px); align-items: start; }
.mods-side { position: sticky; top: 110px; }
.mods-side p { color: var(--muted); margin-block: 12px 20px; }
.mods { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mod { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; padding: 22px; background: #fff; transition: transform .25s, box-shadow .25s, border-color .25s; }
.mod::before { content: ""; position: absolute; inset: 0; background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0), rgba(23, 99, 198, .13), transparent 70%); opacity: 0; transition: opacity .25s; pointer-events: none; }
.mod:hover { transform: translateY(-4px); border-color: var(--sky); box-shadow: 0 26px 40px -26px rgba(9, 64, 139, .55); }
.mod:hover::before { opacity: 1; }
.mod i { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(145deg, var(--blue-2), var(--navy)); margin-bottom: 14px; }
.mod svg { width: 23px; height: 23px; stroke: #fff; }
.mod small { display: block; color: var(--muted); font-size: 14px; direction: ltr; }
html[dir="rtl"] .mod small { text-align: right; }

/* Vision */
.vm { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 84px); align-items: center; }
.collage { position: relative; padding-bottom: 54px; padding-inline-end: 54px; }
.collage img { border-radius: 16px; object-fit: cover; }
.collage .a { width: 100%; aspect-ratio: 16 / 10; object-position: 85% center; box-shadow: 0 34px 56px -34px rgba(10, 31, 68, .6); }
.collage .b { position: absolute; bottom: 0; inset-inline-end: 0; width: 52%; aspect-ratio: 16 / 10; border: 7px solid #fff; box-shadow: 0 30px 50px -28px rgba(10, 31, 68, .7); }
.vm-card { padding-block: 18px; border-top: 1px solid var(--line); margin-top: 18px; }
.vm-card h3 { color: var(--blue); margin-bottom: 4px; }

/* Closing */
.close { position: relative; isolation: isolate; overflow: hidden; background: var(--glow); color: #fff; padding-block: 62px; }
.close-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: center; }
.close h2 { color: #fff; font-size: clamp(32px, 4vw, 54px); margin-bottom: 22px; }
.reach { display: grid; grid-template-columns: auto auto; gap: 16px 44px; justify-content: start; margin-bottom: 26px; }
.reach b { display: block; font-weight: 500; font-size: 14px; color: var(--sky); }
.reach a { text-decoration: none; font-weight: 500; }
.reach a:hover { text-decoration: underline; text-underline-offset: 4px; }
.reach .wide { grid-column: 1 / -1; max-width: 62ch; font-size: 16px; }
.close canvas { width: 100%; height: 300px; }

/* Inner pages */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14.5px; color: var(--on-dark); margin-bottom: 14px; }
.crumbs li + li::before { content: "/"; margin-inline-end: 8px; opacity: .6; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.stages { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 30px; }
.stages a { display: block; padding-top: 10px; border-top: 3px solid rgba(255, 255, 255, .22); font-size: 14.5px; line-height: 1.45; color: var(--on-dark); text-decoration: none; }
.stages a:hover { color: #fff; border-top-color: rgba(255, 255, 255, .55); }
.stages a[aria-current="page"] { border-top-color: var(--sky); color: #fff; font-weight: 600; }

.shot { width: 100%; border-radius: 14px; object-fit: cover; aspect-ratio: 16 / 10; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-block: 14px; }
.tags li { background: var(--page); padding: 3px 11px; border-radius: 7px; font-size: 14.5px; }

.fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 8px; }
.field { padding-inline: 30px; border-inline-start: 1px solid var(--line); }
.field:first-child { padding-inline-start: 0; border-inline-start: 0; }
.field h3 { color: var(--blue); margin-bottom: 8px; }
.field a { display: block; padding-block: 3px; text-decoration: none; }
.field a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.partners { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 32px; align-items: center; }
.partner-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.partner { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; display: grid; place-items: center; }
.partner img { width: 100%; max-width: 180px; }

.contact { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; margin-top: 20px; }
.form label { display: grid; gap: 5px; font-size: 15px; font-weight: 500; }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { width: 100%; font: 400 16px/1.5 var(--font); color: var(--ink); background: #fff; border: 1px solid #a3aebd; border-radius: 9px; padding: 11px 13px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--blue); outline-offset: -1px; border-color: var(--blue); }
.form [aria-invalid="true"] { border-color: #b3261e; }
.err { color: #b3261e; font-size: 14px; font-weight: 400; }
.hp { position: absolute; inset-inline-start: -9999px; }
.status { grid-column: 1 / -1; padding: 12px 16px; border-radius: 9px; font-size: 16px; }
.status[hidden] { display: none; }
.status--ok { background: #e3f1e6; color: #16522a; }
.status--bad { background: #fbe9e7; color: #8c1d18; }
.info { background: var(--navy); color: #fff; border-radius: 14px; padding: 28px; }
.info h2 { font-size: 22px; color: #fff; margin-bottom: 16px; }
.info dt { color: var(--sky); font-size: 14.5px; }
.info dd { margin: 0 0 16px; }
.info dd:last-child { margin-bottom: 0; }
.info a { text-decoration: none; }
.info a:hover { text-decoration: underline; text-underline-offset: 4px; }

.foot { background: var(--deep); color: var(--on-dark); padding-block: 48px 20px; font-size: 15.5px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr .9fr 1.4fr 1.5fr; gap: 36px; }
.foot img { height: 64px; width: auto; margin-bottom: 14px; }
.foot h2 { font-size: 16px; font-family: var(--font); font-weight: 600; color: #fff; margin-bottom: 10px; }
.foot li { margin-block: 5px; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.legal { margin-top: 30px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 14px; }
.lost { min-height: 50vh; display: grid; align-content: center; justify-items: start; gap: 14px; }

@media (min-width: 641px) { p .ltr { white-space: nowrap; } }
@media (max-width: 1080px) {
  .hero-grid, .tour-grid, .mods-grid { grid-template-columns: 1fr; }
  .mods-side { position: static; }
  .tour-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stage .app { --rx: 0deg; --ry: 0deg; transform: none; }
  .f1 { inset-inline-end: 8px; } .f2 { inset-inline-start: 8px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .jpath { gap: 14px; }
  .entry { grid-template-columns: minmax(0, 1fr) 220px; }
}
@media (max-width: 900px) {
  .burger { display: block; }
  .top-side { display: none; }
  .nav { display: none; position: absolute; top: 76px; inset-inline: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gut) 16px; }
  .nav.open { display: flex; }
  .nav a { padding-block: 12px; border-bottom: 1px solid var(--page); }
  .nav a[aria-current="page"] { border-bottom-color: var(--page); }
  .nav .only-menu { display: block; }
  .band { padding-block: 54px; }
  .hero { padding-block-start: 44px; }
  .vm, .about-top, .svc, .contact, .close-grid, .partners, .group, .pair, .fields { grid-template-columns: 1fr; }
  .fields { gap: 22px; } .field { padding-inline: 0; border-inline-start: 0; }
  .facts { grid-template-columns: 1fr 1fr; gap: 20px 0; }
  .fact:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; }
  .jpath { grid-template-columns: 1fr; gap: 24px; padding-inline-start: 0; }
  .jpath::before, .jpath::after { top: 0; bottom: 0; inset-inline: auto; inset-inline-start: 9px; width: 2px; height: auto; }
  .jpath::after { transform: scaleY(var(--p)); transform-origin: top; }
  html[dir="ltr"] .jpath::after { transform-origin: top; }
  .jpath a { padding-top: 0; padding-inline-start: 38px; }
  .stages { grid-template-columns: 1fr 1fr; }
  .close canvas { height: 200px; }
  .group { gap: 20px; }
}
@media (min-width: 901px) { .nav .only-menu { display: none; } }
@media (max-width: 640px) {
  body { font-size: 16px; }
  .float { display: none; }
  .rail { display: none; }
  .app-body { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .tour-tabs { grid-template-columns: 1fr; }
  .tour-tab small { display: none; }
  .screen { padding: 12px; min-height: 0; }
  .syncmap { grid-template-columns: minmax(0, 1fr) 46px minmax(0, 1fr); }
  .syncmap svg { width: 46px; }
  .synclog { grid-column: 1 / -1; margin: 12px 0 0; height: 150px; }
  .hide-s { display: none; }
  .mods, .caps { grid-template-columns: 1fr; }
  .partner-row { grid-template-columns: 1fr 1fr; }
  .entry { grid-template-columns: 1fr; gap: 16px; }
  .form, .reach { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .collage { padding-inline-end: 26px; padding-bottom: 36px; }
  .fact b { font-size: 30px; } .fact { padding-inline: 14px; }
  .screen-foot { flex-direction: column; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition: none !important; }
  html.js .reveal { opacity: 1; transform: none; }
}

/* Kinetic ribbon */
.ribbon { position: relative; z-index: 5; overflow: hidden; background: linear-gradient(90deg, #0f56c9, #2f86ff 50%, #0f56c9); color: #fff; transform: rotate(-1.4deg) scale(1.03); margin-block: -20px 14px; padding-block: 12px; box-shadow: 0 24px 40px -22px rgba(15, 86, 201, .9); }
.ribbon-track { display: flex; width: max-content; gap: 56px; font: 700 clamp(34px, 5vw, 76px)/1.25 var(--head); white-space: nowrap; animation: slide 34s linear infinite; }
.ribbon-track span:nth-child(even) { color: #0a1f44; }
@keyframes slide { to { transform: translateX(calc(var(--dir) * 50%)); } }
h1 { font-size: clamp(33px, 3.9vw, 60px); }
.hero .btn--white { background: linear-gradient(135deg, #2f86ff, #0f56c9); color: #fff; box-shadow: 0 16px 34px -12px rgba(47, 134, 255, .95); }
.stage::before { content: ""; position: absolute; inset: 8% 6%; background: #2f86ff; filter: blur(90px); opacity: .5; z-index: -1; }
.hero { padding-block-start: 74px; }
.hero-partners { margin-block-end: 22px; }

/* Inner page heroes */
.hero--inner { padding-block: 44px 0; }
.hero--inner h1 { font-size: clamp(30px, 3.4vw, 52px); }
.hero--inner .hero-grid { padding-bottom: 56px; }
.hero--contact .hero-grid { padding-bottom: 116px; }
.hero--lost { padding-block: 70px; }
.stage .tilt { transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .35s ease-out; transform-style: preserve-3d; animation: lift 1s cubic-bezier(.2, .7, .2, 1) .1s both; }
.stage .tilt .app { transform: none; animation: none; box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .7), 0 0 90px -20px rgba(23, 99, 198, .7); }
.stage #mark { width: 100%; height: 340px; }
.photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .25); box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .7), 0 0 90px -20px rgba(23, 99, 198, .7); }
.hero--inner .f1 { bottom: -18px; }
.hero--inner .f2 { top: -18px; inset-inline-start: auto; inset-inline-end: 12%; }
.hero--inner .float i { width: auto; min-width: 30px; padding-inline: 7px; font-size: 13px; }
.stages { margin-top: 0; padding-block: 18px 58px; border-top: 1px solid rgba(255, 255, 255, .14); }

/* Layered windows on the services page */
.stack { position: relative; height: 430px; }
.stack-card { position: absolute; top: calc(var(--n) * 60px); inset-inline-start: calc(var(--n) * 24px); width: calc(100% - 96px); display: block; background: #fff; color: var(--ink); border-radius: 14px; overflow: hidden; text-decoration: none; border: 1px solid rgba(255, 255, 255, .3); box-shadow: 0 26px 44px -18px rgba(3, 12, 36, .75); transition: transform .25s; z-index: calc(var(--n) + 1); }
.stack-card:hover { transform: translateY(-12px); }
.stack-body { display: block; min-height: 136px; padding: 18px 16px; font-size: 16px; font-weight: 500; line-height: 1.6; background: linear-gradient(145deg, var(--ice), #fff); }

/* Vision and mission panels */
.panels { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pn { position: relative; isolation: isolate; overflow: hidden; min-height: 430px; border-radius: 22px; color: #fff; padding: 36px; display: flex; flex-direction: column; justify-content: flex-end; }
.pn img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.pn:hover img { transform: scale(1.06); }
.pn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 19, 49, .1), rgba(6, 19, 49, .94) 78%); }
.pn--blue::after { background: linear-gradient(180deg, rgba(15, 86, 201, .15), rgba(9, 64, 139, .97) 78%); }
.pn h2 { color: #fff; font-size: clamp(32px, 3.6vw, 50px); margin-bottom: 8px; }
.pn p { font-size: 18px; max-width: 46ch; }

.mods--3col { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mods--odd .mod:last-child { grid-column: 1 / -1; }
.field a { display: block; padding-block: 4px; text-decoration: none; position: relative; }
.field a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.field h3 { font: 700 22px/var(--head-lh) var(--head); margin-bottom: 10px; color: var(--navy); }
.mods-side .shot { margin-top: 18px; }
.sample { color: var(--muted); font-size: 13.5px; margin-top: 12px; }

/* Services list */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 76px); align-items: center; padding-block: 46px; border-top: 1px solid var(--line); }
.feature:first-child { border-top: 0; padding-top: 0; }
.feature:nth-child(even) .feature-view { order: -1; }
.feature .fld { color: var(--blue-2); font-weight: 600; font-size: 15px; }
.feature h2 { margin-block: 4px 12px; }
.feature p { color: var(--muted); }
.feature .screen { min-height: 0; }
.feature-view .app { box-shadow: 0 40px 70px -40px rgba(10, 31, 68, .55); border-color: var(--line); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-block: 16px 22px; }
.tags li { background: var(--page); padding: 3px 11px; border-radius: 7px; font-size: 14.5px; }

.nextup { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.nextup a { display: block; padding: 32px; border-radius: 18px; text-decoration: none; background: var(--navy); color: #fff; transition: transform .22s, box-shadow .22s; }
.nextup a:last-child { background: linear-gradient(135deg, #2f86ff, #0f56c9); }
.nextup a:hover { transform: translateY(-5px); box-shadow: 0 30px 44px -26px rgba(9, 64, 139, .85); }
.nextup small { display: block; color: var(--on-dark); font-size: 15px; }
.nextup a:last-child small { color: #e2edfc; }
.nextup b { font: 700 clamp(21px, 2.2vw, 30px)/1.4 var(--head); }

/* Contact */
.contact-zone { position: relative; z-index: 2; margin-top: -68px; padding-bottom: 76px; }
.formbox { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 34px; box-shadow: 0 44px 74px -42px rgba(10, 31, 68, .55); }
.info { background: var(--glow); border-radius: 20px; padding: 32px; }

/* 404 */
.lost { min-height: 54vh; }
.big404 { font: 700 clamp(96px, 16vw, 210px)/1 var(--head); background: linear-gradient(135deg, #fff, #5aa0f5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lost p { color: var(--on-dark); font-size: 18px; }
.lost-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.lost-links a { display: block; padding: 6px 13px; border: 1px solid rgba(255, 255, 255, .24); border-radius: 8px; font-size: 15px; text-decoration: none; }
.lost-links a:hover { background: rgba(255, 255, 255, .1); }

@media (max-width: 1080px) {
  .stage .tilt { --rx: 0deg; --ry: 0deg; transform: none; }
  .hero--inner .f2 { inset-inline-end: 8px; }
  .feature, .feature:nth-child(even) { grid-template-columns: 1fr; }
  .feature:nth-child(even) .feature-view { order: 0; }
  .stack { max-width: 620px; }
}
@media (max-width: 900px) {
  .panels, .nextup, .mods--3col { grid-template-columns: 1fr; }
  .pn { min-height: 340px; padding: 26px; }
  .contact-zone { padding-bottom: 54px; }
}
@media (max-width: 640px) {
  .stack { height: 366px; }
  .stack-card { top: calc(var(--n) * 50px); inset-inline-start: calc(var(--n) * 10px); width: calc(100% - 40px); }
  .stack-body { min-height: 112px; }
  .stage #mark { height: 220px; }
  .formbox { padding: 22px; }
  .mods--odd .mod:last-child { grid-column: auto; }
  .nextup a { padding: 24px; }
}
