/* Maps Vision — production styles */
@font-face { font-family: "Thmanyah"; src: url("/fonts/thmanyah-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Thmanyah"; src: url("/fonts/thmanyah-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Thmanyah"; src: url("/fonts/thmanyah-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Thmanyah"; src: url("/fonts/thmanyah-Black.woff2") format("woff2"); font-weight: 900; font-display: swap; }

:root {
  --blue: #006EEB;
  --blue-2: #3B96FE;
  --blue-soft: #E8F1FE;
  --ink: #0A1020;
  --ink-2: #1B2335;
  --muted: #525A6C;
  --soft: #7F8798;
  --line: #E3E6ED;
  --hair: rgba(10, 16, 32, .07);
  --shadow-sm: 0 1px 1px rgba(10,16,32,.04), 0 2px 6px -2px rgba(10,16,32,.06);
  --shadow-lg: 0 1px 2px rgba(10,16,32,.05), 0 10px 24px -10px rgba(10,16,32,.14), 0 34px 70px -30px rgba(10,16,32,.28);
  --surface: #F4F6FA;
  --white: #FFFFFF;
  --ok: #12A150;
  --warn: #E8A317;
  --radius: 28px;
  --spring: cubic-bezier(.22, 1, .36, 1);
  --spring-soft: cubic-bezier(.32, .72, 0, 1);
  --font-ar: "Thmanyah", "IBM Plex Sans Arabic", Tahoma, sans-serif;
  --font-en: "Inter", system-ui, sans-serif;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--font-ar); font-size: 17px; line-height: 1.75;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
.en, [lang="en"] { font-family: var(--font-en); }
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 3px; border-radius: 10px; }

/* ---------- Intro (logo reveal) ---------- */
.intro {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: var(--blue); color: #fff;
  transition: clip-path .9s var(--spring-soft), visibility 0s linear .9s;
  clip-path: inset(0 0 0 0);
}
.intro.done { clip-path: inset(0 0 100% 0 round 0 0 40px 40px); visibility: hidden; }
.intro-mark { display: grid; justify-items: center; gap: 18px; }
.intro-mark img { width: 112px; height: auto; opacity: 0; transform: scale(.82); filter: blur(10px);
  animation: introLogo .9s var(--spring) .1s forwards; }
.intro-mark span { font-family: var(--font-en); font-weight: 800; letter-spacing: .32em; font-size: 15px;
  opacity: 0; transform: translateY(8px); animation: introText .7s var(--spring) .45s forwards; }
.intro-skip { position: absolute; bottom: 28px; inset-inline: 0; margin: auto; width: max-content;
  font-size: 13px; opacity: .7; padding: 8px 14px; border-radius: 99px; color: #fff; }
@keyframes introLogo { to { opacity: 1; transform: scale(1); filter: blur(0); } }
@keyframes introText { to { opacity: 1; transform: none; } }

/* ---------- Header ---------- */
.site-header { position: fixed; top: 0; inset-inline: 0; z-index: 50; padding: 14px 0;
  transition: background .35s ease, box-shadow .35s ease, padding .35s var(--spring); }
.site-header.scrolled { background: rgba(255,255,255,.78); backdrop-filter: saturate(1.6) blur(18px);
  -webkit-backdrop-filter: saturate(1.6) blur(18px); box-shadow: 0 1px 0 var(--line); padding: 8px 0; }
.nav-row { display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-en); font-weight: 800; letter-spacing: .04em; font-size: 15px; }
.brand-badge { width: 38px; height: 38px; border-radius: 12px; background: var(--blue); display: grid; place-items: center; }
.brand-badge img { width: 24px; }
.nav { display: flex; gap: 4px; margin-inline-start: 12px; }
.nav a { padding: 8px 14px; border-radius: 99px; font-size: 15px; color: var(--ink-2); transition: background .2s, color .2s; }
.nav a:hover { background: var(--surface); }
.nav-end { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.lang { position: relative; }
.lang-btn { display: flex; align-items: center; gap: 6px; height: 42px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line); background: #fff; font-size: 14px; }
.lang-btn svg { width: 18px; height: 18px; }
.lang-menu { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; width: 260px; padding: 8px; background: #fff;
  border-radius: 20px; box-shadow: 0 24px 60px -18px rgba(10,16,32,.28), 0 0 0 1px var(--line);
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  opacity: 0; transform: translateY(-6px) scale(.97); transform-origin: top left; pointer-events: none;
  transition: opacity .2s ease, transform .35s var(--spring); }
.lang.open .lang-menu { opacity: 1; transform: none; pointer-events: auto; }
.lang-menu a { padding: 9px 12px; border-radius: 12px; font-size: 14px; display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.lang-menu a:hover { background: var(--surface); }
.lang-menu a[aria-current="true"] { background: var(--blue-soft); color: var(--blue); font-weight: 700; }
.lang-menu small { color: var(--muted); font-family: var(--font-en); font-size: 11px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 99px;
  font-weight: 700; font-size: 16px; transition: transform .45s var(--spring), background .2s, box-shadow .3s; }
.btn:active { transform: scale(.96); transition-duration: .1s; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 30px -10px rgba(0,110,235,.6); }
.btn-primary:hover { background: #0062d3; }
.btn-ghost { background: var(--surface); color: var(--ink); }
.btn-ghost:hover { background: #eceff5; }
.btn-sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Reveal (blur → sharp, word by word) ---------- */
[data-reveal] .w { display: inline-block; opacity: 0; filter: blur(10px); transform: translateY(.28em);
  transition: opacity .7s var(--spring), filter .7s var(--spring), transform .8s var(--spring);
  transition-delay: calc(var(--i) * 55ms); }
[data-reveal].in .w { opacity: 1; filter: blur(0); transform: none; }
.fade-up { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--spring), transform .9s var(--spring); }
.fade-up.in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { padding: 132px 0 40px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding-block: 6px; padding-inline: 6px 14px; transition: background .2s; border-radius: 99px; background: var(--surface); font-size: 14px; color: var(--ink-2); }
.eyebrow b { background: var(--blue); color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 99px; font-weight: 700; }
.h1 { font-size: clamp(44px, 6.2vw, 84px); line-height: 1.14; font-weight: 900; margin: 22px 0 22px; }
.h1 .soft { color: var(--soft); }
.lead { font-size: 19px; color: var(--muted); max-width: 34em; margin: 0 0 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { margin-top: 36px; display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 14px; }
.hero-proof .dots { display: flex; }
.hero-proof .dots span { width: 34px; height: 34px; border-radius: 50%; border: 3px solid #fff; margin-inline-start: -10px; background: var(--blue-soft); display: grid; place-items: center; }
.hero-proof .dots span:first-child { margin-inline-start: 0; }
.hero-proof .dots svg { width: 16px; height: 16px; color: var(--blue); }

.stage { position: relative; aspect-ratio: 1 / 1.02; }
.stage-panel { position: absolute; inset: 6% 10% 4% 4%; border-radius: 40px; background:
  radial-gradient(120% 90% at 80% 0%, #3B96FE 0%, rgba(59,150,254,0) 60%), var(--blue);
  overflow: hidden; }
.stage-panel::after { content: ""; position: absolute; inset: 0; background-image:
  linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 44px 44px; -webkit-mask-image: radial-gradient(80% 70% at 50% 40%, #000 30%, transparent 100%); mask-image: radial-gradient(80% 70% at 50% 40%, #000 30%, transparent 100%); }
.stage-mark { position: absolute; inset-inline-start: 10%; bottom: 8%; width: 36%; opacity: .14; }
.glass { background: rgba(255,255,255,.84); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5);
  border: 1px solid rgba(255,255,255,.7); border-radius: 22px; box-shadow: 0 30px 60px -24px rgba(10,16,32,.35); }
.float { position: absolute; }
.console { inset-inline-end: 2%; top: 15%; width: 74%; padding: 18px; }
.console-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; gap: 8px; }
.console-head b { font-size: 15px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; padding: 4px 10px; border-radius: 99px; background: var(--blue-soft); color: var(--blue); font-weight: 700; white-space: nowrap; }
.chip.ok { background: #E4F6EC; color: var(--ok); }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.kpi { background: #fff; border-radius: 14px; padding: 10px 12px; border: 1px solid var(--line); }
.kpi small { display: block; color: var(--muted); font-size: 11.5px; line-height: 1.4; }
.kpi strong { font-family: var(--font-en); font-size: 22px; font-weight: 800; }
.chart { background: #fff; border-radius: 14px; border: 1px solid var(--line); padding: 10px 12px 4px; }
.chart svg { width: 100%; height: 96px; }
.draw { stroke-dasharray: 700; stroke-dashoffset: 700; transition: stroke-dashoffset 1.8s var(--spring-soft) .3s; }
.in .draw { stroke-dashoffset: 0; }
.toast { padding: 12px 14px; display: flex; gap: 12px; align-items: center; max-width: 300px; font-size: 13.5px; line-height: 1.5; }
.toast .ic { flex: none; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--blue); color: #fff; }
.toast .ic svg { width: 18px; height: 18px; }
.toast .ic.green { background: var(--ok); }
.toast .ic.amber { background: var(--warn); }
.toast b { display: block; font-size: 13.5px; }
.toast span { color: var(--muted); font-size: 12.5px; }
.t1 { inset-inline-start: 0; top: 4%; }
.t2 { inset-inline-start: -4%; top: 62%; }
.t3 { inset-inline-end: 4%; bottom: 0; }

.sectors { margin-top: 56px; border-top: 1px solid var(--line); padding-top: 26px; display: flex; flex-wrap: wrap; gap: 10px 34px; align-items: center; color: var(--muted); font-size: 15px; }
.sectors strong { color: var(--ink); font-size: 14px; }
.sectors span { display: inline-flex; align-items: center; gap: 8px; }
.sectors svg { width: 18px; height: 18px; color: var(--ink-2); }

/* ---------- Section shell ---------- */
.section { padding: 120px 0; }
.section-head { text-align: center; max-width: 780px; margin: 0 auto 56px; }
.tag { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--blue); font-weight: 700; padding: 6px 14px; border-radius: 99px; background: var(--blue-soft); }
.h2 { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.22; font-weight: 900; margin: 18px 0 16px; }
.h2 .soft { color: var(--soft); }
.sub { color: var(--muted); font-size: 18px; margin: 0; }

/* ---------- Products orbit ---------- */
.orbit-wrap { background: var(--surface); border-radius: 48px; padding: 70px 0 44px; overflow: hidden; position: relative; touch-action: pan-y; }
.orbit { position: relative; height: 660px; }
.ring { position: absolute; left: 50%; top: 40px; width: 1180px; height: 1180px; transform: translateX(-50%); border-radius: 50%; border: 1px dashed #D3D9E4; pointer-events: none; }
.tile { position: absolute; left: 50%; top: 40px; width: 104px; height: 104px; margin-left: -52px; margin-top: -52px;
  border-radius: 30px; background: #fff; display: grid; place-items: center;
  box-shadow: 0 18px 40px -22px rgba(10,16,32,.35), 0 0 0 1px rgba(10,16,32,.04);
  transition: transform .85s var(--spring), background .35s ease, box-shadow .35s ease, opacity .5s ease; }
.tile svg { width: 38px; height: 38px; color: var(--ink-2); transition: color .3s, transform .5s var(--spring); }
.tile .tl { position: absolute; top: calc(100% + 10px); white-space: nowrap; font-size: 13px; font-weight: 700; color: var(--muted); opacity: 0; transition: opacity .3s; }
.tile:hover svg { transform: scale(1.1); }
.tile.active { background: var(--blue); box-shadow: 0 26px 50px -18px rgba(0,110,235,.65); }
.tile.active svg { color: #fff; }
.tile.active .tl { opacity: 1; color: var(--blue); }
.tile.far { opacity: 0; pointer-events: none; }
.core { position: absolute; left: 50%; top: 250px; transform: translateX(-50%); width: min(640px, 92%); text-align: center; }
.core-visual { width: 132px; height: 132px; margin: 0 auto 22px; border-radius: 40px; display: grid; place-items: center;
  background: linear-gradient(150deg, #3B96FE, #006EEB 60%, #0052B4); color: #fff;
  box-shadow: 0 40px 70px -28px rgba(0,110,235,.75), inset 0 2px 0 rgba(255,255,255,.35); position: relative; }
.core-visual::before { content: ""; position: absolute; inset: -18px; border-radius: 52px; border: 1px solid rgba(0,110,235,.18); }
.core-visual::after { content: ""; position: absolute; inset: -38px; border-radius: 66px; border: 1px solid rgba(0,110,235,.08); }
.core-visual svg { width: 58px; height: 58px; }
.core-code { font-family: var(--font-en); font-weight: 800; letter-spacing: .08em; color: var(--blue); font-size: 14px; }
.core h3 { font-size: 38px; font-weight: 900; margin: 4px 0 10px; line-height: 1.3; }
.core p { color: var(--muted); margin: 0 auto 18px; max-width: 32em; }
.core ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.core li { background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 6px 14px; font-size: 14px; }
.core-swap { transition: opacity .22s ease, transform .55s var(--spring), filter .3s ease; }
.core-swap.out { opacity: 0; transform: translateY(12px) scale(.98); filter: blur(6px); }
.orbit-nav { display: flex; justify-content: center; gap: 10px; }
.orbit-nav button { width: 50px; height: 50px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 1px var(--line); transition: transform .4s var(--spring); }
.orbit-nav button:active { transform: scale(.9); }
.orbit-nav svg { width: 20px; height: 20px; }
.orbit-hint { text-align: center; color: var(--muted); font-size: 13px; margin-top: 12px; }

/* ---------- Bento services ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.card { background: var(--surface); border-radius: var(--radius); padding: 30px; position: relative; overflow: hidden; min-height: 320px;
  display: flex; flex-direction: column; transition: transform .6s var(--spring), box-shadow .4s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(10,16,32,.35); }
.card.c3 { grid-column: span 3; } .card.c2 { grid-column: span 2; } .card.c4 { grid-column: span 4; }
.card.dark { background: var(--ink); color: #fff; }
.card.dark p { color: #A7AEC0; }
.card.blue { background: var(--blue); color: #fff; }
.card.blue p { color: rgba(255,255,255,.8); }
.card .ico { width: 52px; height: 52px; border-radius: 16px; background: #fff; display: grid; place-items: center; margin-bottom: 18px; color: var(--blue); }
.card.dark .ico { background: rgba(255,255,255,.1); color: #fff; }
.card.blue .ico { background: rgba(255,255,255,.18); color: #fff; }
.card .ico svg { width: 26px; height: 26px; }
.card h3 { font-size: 25px; font-weight: 900; margin: 0 0 8px; line-height: 1.35; }
.card p { color: var(--muted); margin: 0; font-size: 16px; }
.card .mini { margin-top: auto; padding-top: 24px; }
.mini-bars { display: flex; align-items: flex-end; gap: 8px; height: 90px; }
.mini-bars i { flex: 1; border-radius: 8px 8px 4px 4px; background: rgba(255,255,255,.16); height: 8%; transition: height 1.1s var(--spring); transition-delay: calc(var(--d) * 70ms); }
.mini-bars i.hi { background: var(--blue-2); }
.in .mini-bars i { height: var(--h); }
.flow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.flow span { background: #fff; border-radius: 12px; padding: 8px 12px; font-size: 13.5px; border: 1px solid var(--line); }
.flow svg { width: 16px; height: 16px; color: var(--blue); transform: scaleX(-1); }
.gauge-row { display: flex; align-items: flex-end; gap: 16px; }
.gauge { width: 140px; height: 76px; }
.gauge-row strong { font-family: var(--font-en); font-size: 40px; font-weight: 800; line-height: 1; }
.gauge-row small { display: block; color: var(--muted); font-size: 13px; }
.devices { display: flex; gap: 10px; align-items: flex-end; }
.devices .d { background: #fff; border-radius: 12px; border: 1px solid var(--line); }
.devices .d1 { width: 150px; height: 92px; } .devices .d2 { width: 46px; height: 82px; } .devices .d3 { width: 96px; height: 70px; }
.devices .d::before { content: ""; display: block; margin: 8px; height: 8px; width: 40%; border-radius: 4px; background: var(--blue-soft); }
.signal { display: flex; gap: 6px; align-items: flex-end; height: 64px; }
.signal i { width: 10px; border-radius: 4px; background: rgba(255,255,255,.35); animation: sig 1.6s ease-in-out infinite; animation-delay: calc(var(--d) * 120ms); }
@keyframes sig { 0%, 100% { height: 30%; } 50% { height: 100%; } }
.home-dots { display: grid; grid-template-columns: repeat(3, 44px); gap: 8px; }
.home-dots i { height: 44px; border-radius: 14px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; }
.home-dots i.on { background: var(--blue); border-color: var(--blue); }

/* ---------- Numbers ---------- */
.numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.num { border-radius: var(--radius); padding: 28px; background: #fff; border: 1px solid var(--line); }
.num strong { font-family: var(--font-en); font-size: 54px; font-weight: 800; line-height: 1; display: block; letter-spacing: -.02em; direction: ltr; text-align: right; }
.num strong em { font-style: normal; color: var(--blue); }
.num p { color: var(--muted); margin: 12px 0 0; font-size: 15.5px; line-height: 1.6; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { border-radius: var(--radius); padding: 26px; background: var(--surface); position: relative; min-height: 260px; display: flex; flex-direction: column; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-en); font-weight: 800; color: var(--blue); font-size: 14px; letter-spacing: .1em; }
.step h3 { font-size: 23px; margin: 14px 0 8px; font-weight: 900; }
.step p { color: var(--muted); margin: 0 0 20px; font-size: 15.5px; }
.step .bar { margin-top: auto; height: 6px; border-radius: 6px; background: #E3E7EF; overflow: hidden; }
.step .bar i { display: block; height: 100%; width: 0; background: var(--blue); border-radius: 6px; transition: width 1.4s var(--spring-soft); transition-delay: calc(var(--s) * 220ms); }
.process.in .bar i { width: var(--w); }
.step.featured { background: var(--blue); color: #fff; transform: rotate(-1.5deg); }
.step.featured::before { color: #fff; }
.step.featured p { color: rgba(255,255,255,.82); }
.step.featured .bar { background: rgba(255,255,255,.25); }
.step.featured .bar i { background: #fff; }

/* ---------- Principles ---------- */
.principles { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; }
.principle-big { background: var(--ink); color: #fff; border-radius: 36px; padding: 44px; position: relative; overflow: hidden; min-height: 440px; display: flex; flex-direction: column; }
.principle-big .tag { background: rgba(255,255,255,.1); color: #fff; align-self: flex-start; }
.principle-big h3 { font-size: 38px; line-height: 1.3; font-weight: 900; margin: 18px 0 12px; }
.principle-big p { color: #A7AEC0; margin: 0; max-width: 28em; }
.netmap { margin-top: auto; height: 150px; }
.netmap svg { width: 100%; height: 100%; }
.netmap .pkt { animation: pkt 2.6s linear infinite; }
@keyframes pkt { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -60; } }
.principle-list { display: grid; gap: 18px; }
.pl { background: var(--surface); border-radius: var(--radius); padding: 24px 26px; display: flex; gap: 18px; align-items: flex-start; }
.pl .ico { flex: none; width: 48px; height: 48px; border-radius: 15px; background: #fff; display: grid; place-items: center; color: var(--blue); }
.pl .ico svg { width: 24px; height: 24px; }
.pl h4 { margin: 0 0 4px; font-size: 20px; font-weight: 900; }
.pl p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ---------- People ---------- */
.people { border-radius: 48px; overflow: hidden; position: relative; padding: 80px 64px; color: #fff;
  background: radial-gradient(80% 120% at 85% 10%, #3B96FE 0%, transparent 55%), radial-gradient(70% 100% at 10% 100%, #0B2C66 0%, transparent 60%), var(--blue); }
.people-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.people .tag { background: rgba(255,255,255,.16); color: #fff; }
.people .sub { color: rgba(255,255,255,.82); }
.faces { position: relative; height: 380px; }
.face { position: absolute; width: 190px; aspect-ratio: 3/4; border-radius: 28px; overflow: hidden; display: grid; align-content: end;
  background: linear-gradient(180deg, rgba(255,255,255,.24), rgba(255,255,255,.06)); border: 1px solid rgba(255,255,255,.3);
  padding: 16px; transition: transform .9s var(--spring); }
.face .ph { position: absolute; inset: 0; display: grid; place-items: center; }
.face .ph svg { width: 70px; height: 70px; opacity: .5; }
.face b { position: relative; font-size: 17px; }
.face span { position: relative; font-size: 13px; opacity: .82; }
.f1 { inset-inline-start: 2%; top: 34px; transform: rotate(-6deg); }
.f2 { inset-inline-start: 33%; top: 0; transform: rotate(2deg); z-index: 2; }
.f3 { inset-inline-start: 63%; top: 50px; transform: rotate(7deg); }
.faces:hover .f1 { transform: rotate(-9deg) translateX(-10px); }
.faces:hover .f3 { transform: rotate(10deg) translateX(10px); }

/* ---------- Marketing strip (secondary) ---------- */
.mkt { display: grid; grid-template-columns: 1fr 2fr; gap: 30px; align-items: center; padding: 40px; border-radius: 36px; border: 1px solid var(--line); }
.mkt h3 { font-size: 28px; font-weight: 900; margin: 10px 0 6px; line-height: 1.35; }
.mkt p { margin: 0; color: var(--muted); font-size: 15.5px; }
.mkt-steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.mkt-steps span { background: var(--surface); border-radius: 16px; padding: 14px 8px; text-align: center; font-size: 14px; font-weight: 700; }
.mkt-steps em { display: block; font-style: normal; font-family: var(--font-en); color: var(--blue); font-size: 12px; margin-bottom: 2px; }

/* ---------- CTA ---------- */
.cta { text-align: center; padding: 130px 0 120px; position: relative; }
.cta .h2 { font-size: clamp(38px, 5.4vw, 72px); }
.cta-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 30px; position: relative; }
.scribble { position: absolute; width: 150px; right: calc(50% + 200px); top: -70px; color: var(--ink); }
.scribble path { stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 1.3s var(--spring-soft) .5s; }
.in .scribble path, .scribble.in path { stroke-dashoffset: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface); border-radius: 48px 48px 0 0; padding: 72px 0 28px; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.foot-grid h5 { margin: 0 0 12px; font-size: 15px; color: var(--muted); font-weight: 700; }
.foot-grid a, .foot-grid li { display: block; padding: 4px 0; font-size: 15.5px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid a:hover { color: var(--blue); }
.legal-card { background: #fff; border-radius: 22px; padding: 20px 22px; font-size: 14.5px; line-height: 1.9; border: 1px solid var(--line); }
.legal-card b { font-size: 16px; }
.legal-card a { display: inline-block; padding: 0; font-size: inherit; white-space: nowrap; unicode-bidi: isolate; }
.wordmark { font-family: var(--font-en); font-weight: 800; font-size: clamp(60px, 15vw, 224px); line-height: .82; letter-spacing: -.045em; text-align: center; margin: 70px 0 0;
  background: linear-gradient(180deg, var(--ink) 30%, rgba(10,16,32,.05)); -webkit-background-clip: text; background-clip: text; color: transparent; direction: ltr; user-select: none; white-space: nowrap; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: 13.5px; margin-top: 26px; border-top: 1px solid var(--line); padding-top: 20px; }
.foot-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }


/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .stage { max-width: 560px; margin: 10px auto 0; width: 100%; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card.c3, .card.c2, .card.c4 { grid-column: span 1; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .principles, .people-grid { grid-template-columns: 1fr; }
  .mkt { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .scribble { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: min(100% - 32px, var(--container)); }
  .hero { padding-top: 100px; }
  .lead { font-size: 17px; }
  .nav-end .btn-sm { display: none; }
  .brand-name { display: none; }
  .section { padding: 84px 0; }
  .bento, .numbers, .process { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .orbit-wrap { border-radius: 32px; }
  .orbit { height: 640px; }
  .ring { width: 760px; height: 760px; }
  .tile { width: 76px; height: 76px; margin-left: -38px; margin-top: -38px; border-radius: 24px; }
  .tile svg { width: 30px; height: 30px; }
  .core { top: 150px; }
  .orbit { height: 540px; }
  .core-visual { display: none !important; }
  .tile .tl { display: none; }
  .core h3 { font-size: 30px; }
  .core-visual { width: 100px; height: 100px; border-radius: 32px; }
  .core-visual svg { width: 44px; height: 44px; }
  .people { padding: 56px 24px; border-radius: 36px; }
  .faces { height: 300px; }
  .face { width: 132px; }
  .mkt { padding: 26px; }
  .mkt-steps { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr; }
  .t2 { inset-inline-start: 0; }
  .toast { max-width: 240px; padding: 10px 12px; }
  .console { width: 84%; padding: 14px; }
  .kpi strong { font-size: 18px; }
  .step.featured { transform: none; }
  .principle-big { padding: 30px; }
  .principle-big h3 { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  [data-reveal] .w, .fade-up { opacity: 1; filter: none; transform: none; }
  .intro { display: none; }
}

/* ===================== Pass 2: type, brand, crispness ===================== */
/* Latin runs inside Arabic text → Inter, optically matched to Thmanyah */
.lat { font-family: var(--font-en); font-size: .9em; letter-spacing: -.012em; font-feature-settings: "cv11", "ss03", "tnum" 0; unicode-bidi: isolate; }
.h1 .lat, .h2 .lat, .core h3 .lat, .card h3 .lat { font-weight: 800; letter-spacing: -.03em; font-size: .86em; }
.lead .lat, .sub .lat, p .lat { font-weight: 500; }
.num strong, .kpi strong, .gauge-row strong, .core-code, .chip, .lang-menu small, .mkt-steps em, .step::before { font-family: var(--font-en); font-feature-settings: "tnum", "cv11"; }
.num strong { font-weight: 700; letter-spacing: -.045em; }
.kpi strong { font-weight: 700; letter-spacing: -.03em; }
.core-code { font-weight: 600; letter-spacing: .02em; font-size: 15px; }
.tile .tl { font-family: var(--font-en); font-weight: 600; letter-spacing: 0; }

/* Brand wordmark — Inter Bold Italic, as in the identity board */
.brand { gap: 10px; direction: ltr; }
.brand-mark { width: 40px; height: 30px; color: var(--blue); flex: none; }
.brand-name { display: grid; line-height: 1.05; direction: ltr; text-align: left; }
.brand-name b { font-family: var(--font-en); font-weight: 800; font-style: italic; font-size: 20px; letter-spacing: -.025em; color: var(--ink); }
.brand-name small { font-family: var(--font-en); font-style: italic; font-weight: 500; font-size: 10.5px; letter-spacing: .005em; color: var(--muted); margin-top: 3px; }
.intro-logo { width: 128px; height: 97px; color: #fff; opacity: 0; transform: scale(.86); filter: blur(8px); animation: introLogo .9s var(--spring) .1s forwards; }
.intro-mark .intro-word { letter-spacing: 0; font-size: inherit; }
.intro-word { display: grid; justify-items: center; direction: ltr; opacity: 0; transform: translateY(8px); animation: introText .7s var(--spring) .42s forwards; }
.intro-word b { font-family: var(--font-en); font-weight: 800; font-style: italic; font-size: 40px; letter-spacing: -.03em; line-height: 1; }
.intro-word small { font-family: var(--font-en); font-style: italic; font-weight: 500; font-size: 15px; letter-spacing: 0; opacity: .85; margin-top: 8px; }
.stage-mark { position: absolute; inset-inline-start: 10%; bottom: 9%; width: 38%; height: auto; aspect-ratio: 921 / 697; color: #fff; opacity: .13; }
.wordmark { font-weight: 800; font-style: italic; letter-spacing: -.055em; padding-inline-end: .06em; font-size: clamp(64px, 16vw, 250px);
  background: linear-gradient(180deg, var(--ink) 25%, rgba(10,16,32,.04) 100%); -webkit-background-clip: text; background-clip: text; }

/* Crisp surfaces: hairlines + layered shadows */
.card, .step, .pl, .num, .kpi, .chart, .orbit-wrap, .mkt, .legal-card { box-shadow: inset 0 0 0 1px var(--hair); }
.num, .legal-card, .mkt { border-color: transparent; }
.card.dark, .card.blue, .step.featured, .principle-big { box-shadow: var(--shadow-lg); }
.card:hover { box-shadow: inset 0 0 0 1px var(--hair), var(--shadow-lg); }
.tile { box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--hair); }
.tile.active { box-shadow: 0 2px 4px rgba(0,110,235,.25), 0 22px 44px -16px rgba(0,110,235,.6); }
.glass { box-shadow: 0 1px 2px rgba(10,16,32,.08), 0 18px 40px -18px rgba(10,16,32,.32); border-color: rgba(255,255,255,.85); }
.btn-primary { box-shadow: 0 1px 2px rgba(0,60,140,.3), 0 10px 24px -10px rgba(0,110,235,.7), inset 0 1px 0 rgba(255,255,255,.18); }
@media (min-resolution: 2dppx) { :root { --hair: rgba(10,16,32,.09); } .card, .step, .pl, .num, .kpi, .chart, .orbit-wrap, .mkt, .legal-card { box-shadow: inset 0 0 0 .5px rgba(10,16,32,.16); } }
h1, h2, h3, h4 { text-rendering: geometricPrecision; }
.h1, .h2 { letter-spacing: -.005em; }
/* once revealed, drop filters/transforms so text re-rasterises razor sharp */
[data-reveal].settled .w { filter: none !important; transform: none !important; transition: none !important; }
.fade-up.settled { transform: none !important; transition: none !important; }

/* CTA arrow — anchored to the primary button */
.cta-main { position: relative; display: inline-flex; }
.scribble { position: absolute; width: 100px; height: auto; left: calc(100% - 20px); right: auto; top: -62px; color: var(--ink); pointer-events: none; }

/* Language toast (preview) */
.toast-msg { position: fixed; left: 50%; bottom: 28px; z-index: 80; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 99px; font-size: 14.5px; box-shadow: var(--shadow-lg);
  transition: opacity .25s ease, transform .5s var(--spring); }
.toast-msg.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 640px) {
  .brand-name small { display: none; }
  .brand-name b { font-size: 18px; }
  .brand-name { display: grid !important; }
  .scribble { display: none; }
}

/* ===================== Pass 3: multilingual + inner pages ===================== */
/* Persian & Kurdish need glyphs Thmanyah lacks */
:root:lang(fa), :root:lang(ckb) { --font-ar: "Vazirmatn", "Noto Sans Arabic", Tahoma, sans-serif; }
:lang(fa) .h1, :lang(fa) .h2, :lang(ckb) .h1, :lang(ckb) .h2 { font-weight: 800; line-height: 1.3; }
:lang(fa) .card h3, :lang(fa) .core h3, :lang(fa) .step h3, :lang(fa) .pl h4, :lang(fa) .principle-big h3, :lang(fa) .feat h3,
:lang(ckb) .card h3, :lang(ckb) .core h3, :lang(ckb) .step h3, :lang(ckb) .pl h4, :lang(ckb) .principle-big h3, :lang(ckb) .feat h3 { font-weight: 800; }

/* Latin-script pages: Inter throughout, Apple-style tracking */
[dir="ltr"] body { font-family: var(--font-en); line-height: 1.62; font-feature-settings: "cv11", "ss03"; }
[dir="ltr"] .h1 { font-size: clamp(40px, 5.6vw, 76px); line-height: 1.04; font-weight: 800; letter-spacing: -.045em; }
[dir="ltr"] .h2 { line-height: 1.08; font-weight: 800; letter-spacing: -.04em; }
[dir="ltr"] .cta .h2 { font-size: clamp(36px, 5vw, 66px); }
[dir="ltr"] .card h3, [dir="ltr"] .core h3, [dir="ltr"] .step h3, [dir="ltr"] .pl h4, [dir="ltr"] .principle-big h3,
[dir="ltr"] .mkt h3, [dir="ltr"] .feat h3 { font-weight: 700; letter-spacing: -.028em; line-height: 1.2; }
[dir="ltr"] .principle-big h3 { letter-spacing: -.035em; }
[dir="ltr"] .lead { font-size: 19px; letter-spacing: -.011em; }
[dir="ltr"] .sub, [dir="ltr"] .card p, [dir="ltr"] .pl p, [dir="ltr"] .step p { letter-spacing: -.006em; }
[dir="ltr"] .btn { font-weight: 600; letter-spacing: -.01em; }
[dir="ltr"] .tag { font-weight: 600; letter-spacing: -.005em; }
[dir="ltr"] .num strong { text-align: left; }
[dir="ltr"] .flow svg { transform: none; }
[dir="ltr"] .scribble { left: auto; right: calc(100% - 20px); transform: scaleX(-1); }
[dir="ltr"] .lang-menu { transform-origin: top right; }
[dir="ltr"] .stage-panel { inset: 6% 4% 4% 10%; }
[dir="ltr"] .h1, [dir="ltr"] .h2 { overflow-wrap: break-word; hyphens: auto; }

/* Orbit: link to the product page */
.core-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 700; font-size: 15px; color: var(--blue);
  padding: 10px 18px; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 1px var(--hair); transition: transform .45s var(--spring), box-shadow .3s; }
.core-link svg { width: 16px; height: 16px; transition: transform .45s var(--spring); }
.core-link:hover svg { transform: translateX(-3px); }
[dir="ltr"] .core-link:hover svg { transform: translateX(3px); }
.core-link:active { transform: scale(.96); }
a.eyebrow:hover { background: #eceff5; }

/* About: role glyphs instead of placeholder silhouettes */
.face .ph svg { width: 54px; height: 54px; opacity: .55; stroke-width: 1.3; }

/* ---------- Product page ---------- */
.p-hero { padding: 132px 0 40px; }
.p-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.crumbs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.crumbs a:hover { color: var(--blue); }
.crumbs svg { width: 14px; height: 14px; opacity: .5; }
.crumbs span { color: var(--ink); font-family: var(--font-en); font-weight: 600; }
.p-code { font-family: var(--font-en); letter-spacing: .02em; }
.p-title { margin-top: 18px; }
.p-visual { position: relative; aspect-ratio: 1 / .92; }
.p-panel { position: absolute; inset: 4% 6%; border-radius: 40px; overflow: hidden;
  background: radial-gradient(110% 90% at 80% 0%, #3B96FE 0%, rgba(59,150,254,0) 60%), var(--blue); box-shadow: var(--shadow-lg); }
.p-panel::after { content: ""; position: absolute; inset: 0; background-image:
  linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 44px 44px; -webkit-mask-image: radial-gradient(70% 70% at 50% 45%, #000 30%, transparent 100%); mask-image: radial-gradient(70% 70% at 50% 45%, #000 30%, transparent 100%); }
.p-icon { position: absolute; inset: 0; margin: auto; width: 34%; aspect-ratio: 1; height: auto; border-radius: 30%; display: grid; place-items: center; color: var(--blue);
  background: #fff; box-shadow: 0 2px 4px rgba(10,16,32,.08), 0 40px 80px -30px rgba(0,30,80,.6); }
.p-icon::before, .p-icon::after { content: ""; position: absolute; border-radius: 34%; border: 1px solid rgba(255,255,255,.35); inset: -18%; }
.p-icon::after { inset: -40%; border-color: rgba(255,255,255,.16); border-radius: 38%; }
.p-icon svg { width: 46%; height: 46%; stroke-width: 1.4; }
.p-chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; padding-inline-start: 10px; font-size: 14px; font-weight: 700; white-space: nowrap; border-radius: 16px; }
.p-chip i { width: 24px; height: 24px; border-radius: 8px; background: var(--ok); color: #fff; display: grid; place-items: center; flex: none; }
.p-chip i svg { width: 14px; height: 14px; }
.p-chip.c1 { inset-inline-start: 0; top: 12%; }
.p-chip.c2 { inset-inline-end: 0; top: 28%; }
.p-chip.c3 { inset-inline-start: 4%; bottom: 20%; }
.p-chip.c4 { inset-inline-end: 6%; bottom: 6%; }
.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feat { background: var(--surface); border-radius: var(--radius); padding: 28px; box-shadow: inset 0 0 0 1px var(--hair); display: flex; flex-direction: column; min-height: 280px;
  transition: transform .6s var(--spring), box-shadow .4s ease; }
.feat:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--hair), var(--shadow-lg); }
.feat .ico { width: 48px; height: 48px; border-radius: 15px; background: #fff; display: grid; place-items: center; color: var(--blue); box-shadow: var(--shadow-sm); }
.feat .ico svg { width: 24px; height: 24px; }
.feat em { font-style: normal; font-family: var(--font-en); font-weight: 700; font-size: 13px; color: var(--blue); margin-top: auto; padding-top: 28px; letter-spacing: .04em; }
.feat h3 { font-size: 22px; font-weight: 900; margin: 6px 0 8px; line-height: 1.35; }
.feat p { margin: 0; color: var(--muted); font-size: 15.5px; }
.feat:nth-child(2) { background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); }
.feat:nth-child(2) p { color: #A7AEC0; }
.feat:nth-child(2) .ico { background: rgba(255,255,255,.1); color: #fff; box-shadow: none; }
.feat:nth-child(2) em { color: var(--blue-2); }
.p-principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.others { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.other { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 22px; background: #fff; box-shadow: inset 0 0 0 1px var(--hair);
  transition: transform .5s var(--spring), box-shadow .35s ease; }
.other:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--hair), var(--shadow-lg); }
.other .ico { width: 48px; height: 48px; border-radius: 15px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; flex: none; transition: background .3s, color .3s; }
.other:hover .ico { background: var(--blue); color: #fff; }
.other .ico svg { width: 24px; height: 24px; }
.other em { display: block; font-style: normal; font-family: var(--font-en); font-weight: 700; font-size: 12.5px; color: var(--blue); letter-spacing: .02em; }
.other b { display: block; font-size: 16px; line-height: 1.4; }

/* ---------- Legal pages ---------- */
.legal-hero { padding: 150px 0 30px; text-align: center; }
.legal-hero .h2 { margin-bottom: 10px; }
.legal-body { padding: 30px 0 110px; }
.legal-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; max-width: 1080px; }
.prose { font-size: 17px; line-height: 1.9; color: var(--ink-2); }
[dir="ltr"] .prose { line-height: 1.7; }
.prose h2 { font-size: 24px; font-weight: 900; margin: 42px 0 10px; color: var(--ink); line-height: 1.35; }
[dir="ltr"] .prose h2 { font-weight: 700; letter-spacing: -.025em; }
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0 0 14px; padding-inline-start: 22px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--blue); }
.prose a { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose .note { margin-top: 30px; padding: 16px 20px; border-radius: 18px; background: var(--blue-soft); color: var(--ink); }
.legal-side { position: sticky; top: 100px; display: grid; gap: 6px; padding: 24px; border-radius: 24px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--hair); font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.legal-side b { color: var(--ink); font-size: 16px; }
.legal-side a { color: var(--blue); font-weight: 600; }
[dir="rtl"] .legal-side a[dir="ltr"] { text-align: right; }

/* ---------- 404 / offline ---------- */
.is-404 { background: var(--ink); }
.nf-stage { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; color: #fff; isolation: isolate;
  background: radial-gradient(60% 50% at 50% 40%, rgba(0,110,235,.35), transparent 70%), var(--ink); }
.nf-stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image:
  linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(60% 60% at 50% 45%, #000 20%, transparent 100%); mask-image: radial-gradient(60% 60% at 50% 45%, #000 20%, transparent 100%); }
.nf-brand { position: absolute; top: 22px; inset-inline-start: max(20px, calc((100% - 1200px) / 2)); z-index: 3; }
.nf-brand .brand-mark { color: #fff; }
.nf-brand .brand-name b { color: #fff; }
.nf-brand .brand-name small { color: rgba(255,255,255,.6); }
.nf-inner { position: relative; z-index: 2; text-align: center; display: grid; justify-items: center; gap: 4px; pointer-events: none; padding: 100px 0; }
.nf-inner a { pointer-events: auto; }
.nf-ico { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.nf-ico svg { width: 30px; height: 30px; color: #fff; }
.nf-code { font-family: var(--font-en); font-weight: 800; font-style: italic; font-size: clamp(120px, 26vw, 300px); line-height: .9; letter-spacing: -.06em; padding-inline-end: .05em;
  background: linear-gradient(180deg, #fff 20%, rgba(255,255,255,.08)); -webkit-background-clip: text; background-clip: text; color: transparent; direction: ltr; margin-top: 10px; }
.nf .h2 { color: #fff; margin: 0 0 6px; }
.nf .sub { color: rgba(255,255,255,.7); margin-bottom: 26px; }
.nf-hint { margin: 18px 0 0; font-size: 13.5px; color: rgba(255,255,255,.45); }
.nf-trail { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.nf-dot { position: fixed; width: 78px; height: 78px; margin: -39px 0 0 -39px; border-radius: 24px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(150deg, #3B96FE, #006EEB 60%, #0052B4); box-shadow: 0 20px 40px -18px rgba(0,110,235,.8), inset 0 1px 0 rgba(255,255,255,.3);
  animation: nfDot 1.4s var(--spring-soft) forwards; }
.nf-dot svg { width: 34px; height: 34px; }
.nf-dot:nth-child(3n) { background: #fff; color: var(--blue); }
.nf-dot:nth-child(4n) { background: rgba(255,255,255,.1); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
@keyframes nfDot {
  0% { opacity: 0; transform: scale(.4) rotate(var(--r)); }
  14% { opacity: 1; transform: scale(1) rotate(var(--r)); }
  70% { opacity: .9; transform: scale(.92) rotate(var(--r)); }
  100% { opacity: 0; transform: scale(.7) translateY(18px) rotate(var(--r)); }
}

@media (max-width: 1080px) {
  .p-hero-grid, .legal-wrap { grid-template-columns: 1fr; }
  .p-visual { max-width: 540px; width: 100%; margin: 10px auto 0; }
  .feats { grid-template-columns: repeat(2, 1fr); }
  .others { grid-template-columns: repeat(2, 1fr); }
  .legal-side { position: static; }
}
@media (max-width: 640px) {
  .p-hero { padding-top: 100px; }
  .feats, .p-principles, .others { grid-template-columns: 1fr; }
  .feat { min-height: 0; }
  .p-chip { font-size: 12.5px; padding: 8px 12px; }
  .legal-hero { padding-top: 110px; }
  .prose { font-size: 16px; }
  .nf-dot { width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 19px; }
  .nf-dot svg { width: 26px; height: 26px; }
}

/* ---------- Intro v2: light traces the mark, then it fills (after the brand film) ---------- */
.no-intro .intro { display: none; }
.intro { background: #03060d; overflow: hidden; }
.intro::before { content: ""; position: absolute; inset: -20%; pointer-events: none;
  background: radial-gradient(closest-side at 50% 46%, rgba(0, 110, 235, .55), rgba(0, 110, 235, .12) 45%, transparent 70%);
  opacity: 0; transform: scale(.55); animation: introGlow 1.35s cubic-bezier(.2, .7, .2, 1) .35s forwards; }
.intro::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(closest-side at 50% 50%, #000, transparent);
          mask-image: radial-gradient(closest-side at 50% 50%, #000, transparent); }
.intro-mark { position: relative; z-index: 1; }
.intro .intro-logo { width: 176px; height: auto; aspect-ratio: 1001 / 777; overflow: visible; color: #1a7bff;
  opacity: 1; transform: none; filter: drop-shadow(0 0 14px rgba(40, 130, 255, .55)); animation: introLift .5s var(--spring) 1.05s both; }
.il-fill { fill: currentColor; opacity: 0; animation: ilFill .38s ease-out .78s forwards; }
.il-trace, .il-comet { fill: none; stroke-linejoin: round; stroke-linecap: round; }
.il-trace { stroke: #6fb0ff; stroke-width: 10; stroke-dasharray: 1 1; stroke-dashoffset: 1;
  animation: ilDraw .75s cubic-bezier(.55, .1, .3, 1) .08s forwards, ilFade .35s ease 1s forwards; }
.il-comet { stroke: #e6f1ff; stroke-width: 18; stroke-dasharray: .07 .93; stroke-dashoffset: .07; opacity: 0;
  animation: ilComet .9s cubic-bezier(.45, 0, .25, 1) .02s forwards; }
.intro-word { color: #fff; }
.intro .intro-word { animation: introText .6s var(--spring) .95s forwards; }
.intro-skip { color: rgba(255,255,255,.75); }
@keyframes ilDraw { to { stroke-dashoffset: 0; } }
@keyframes ilFade { to { opacity: 0; } }
@keyframes ilFill { from { opacity: 0; } 60% { opacity: .85; } to { opacity: 1; } }
@keyframes ilComet { 0% { opacity: 0; stroke-dashoffset: .07; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; stroke-dashoffset: -.93; } }
@keyframes introGlow { 0% { opacity: 0; transform: scale(.55); } 45% { opacity: 1; } 100% { opacity: .55; transform: scale(1.05); } }
@keyframes introLift { from { transform: none; } to { transform: translateY(-4px) scale(1.02); } }
@media (max-width: 640px) { .intro .intro-logo { width: 116px; } .intro-word b { font-size: 32px; } }

/* ---------- Self-hosted Inter + Vazirmatn (was Google Fonts: removed a render-blocking third-party connection) ---------- */
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
  src: url(/fonts/inter-italic-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
  src: url(/fonts/inter-italic-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
  src: url(/fonts/inter-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
  src: url(/fonts/inter-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(/fonts/inter-normal-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(/fonts/inter-normal-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(/fonts/inter-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(/fonts/inter-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* arabic */
@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/fonts/vazirmatn-arabic.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin-ext */
@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/fonts/vazirmatn-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/fonts/vazirmatn-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Resilience on slow networks: never leave content hidden waiting for JS ---------- */
html:not(.js) .fade-up, .reveal-all .fade-up { opacity: 1 !important; transform: none !important; }
html:not(.js) .intro, .reveal-all .intro { display: none !important; }
