/* =========================================================
   ExSyria — editorial / studio direction
   ink · bone · graphite, with the brand green as a signature
   ========================================================= */

/* ---------- fonts ----------
   Declared here rather than through a Google Fonts stylesheet, so a slow or blocked
   connection to Google can never hold back the page: text shows at once in the
   system font and switches to Cairo as soon as it arrives (cached for a year after).
   Cairo is one variable file per script, covering every weight 200–700. */
@font-face { font-family: 'Cairo'; font-style: normal; font-weight: 200 700; font-display: swap;
  src: url(https://fonts.gstatic.com/s/cairo/v31/SLXVc1nY6HkvangtZmpQdkhzfH5lkSscQyyS4J0.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; }
@font-face { font-family: 'Cairo'; font-style: normal; font-weight: 200 700; font-display: swap;
  src: url(https://fonts.gstatic.com/s/cairo/v31/SLXVc1nY6HkvangtZmpQdkhzfH5lkSscSCyS4J0.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; }
@font-face { font-family: 'Cairo'; font-style: normal; font-weight: 200 700; font-display: swap;
  src: url(https://fonts.gstatic.com/s/cairo/v31/SLXVc1nY6HkvangtZmpQdkhzfH5lkSscRiyS.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; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(https://fonts.gstatic.com/s/ibmplexmono/v23/-F63fjptAgt5VM-kVkqdyU8n1i8q1w.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; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(https://fonts.gstatic.com/s/ibmplexmono/v23/-F6qfjptAgt5VM-kVkqdyU8n3twJwlBFgg.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; }

:root {
  --ink: #0e0e0f;
  --ink-2: #141415;
  --ink-3: #1b1b1d;
  --graphite: #414042;
  --bone: #ece9e3;
  --paper: #f2f0eb;
  --mute-d: #8e8a83;
  --mute-l: #6f6b64;
  --line-d: rgba(236, 233, 227, .12);
  --line-l: rgba(20, 20, 21, .14);
  --green: #00b451;
  --green-ink: #0a7a3c;

  /* brand typeface (identity guide): Cairo, for Arabic and English alike */
  --f-display: 'Cairo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-body: 'Cairo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --pad: clamp(20px, 4.2vw, 64px);
  --max: 1520px;
  --nav-h: 76px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --dir: -1; /* -1 in RTL, 1 in LTR: "forward" on the x axis */
}
html[dir="ltr"] { --dir: 1; }

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
/* English chosen earlier: keep the Arabic markup out of sight until it is swapped (fail-safe after 1.2s) */
html.i18n-wait body { opacity: 0; animation: i18nShow .01s 1.2s forwards; }
@keyframes i18nShow { to { opacity: 1; } }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth iframe { pointer-events: none; }
body {
  background: var(--ink);
  color: var(--bone);
  font: 400 16px/1.75 var(--f-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-weight: inherit; }
::selection { background: var(--green); color: var(--ink); }
:focus-visible { outline: 1px solid var(--green); outline-offset: 4px; }

/* subtle film grain over everything */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1.4 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ---------- themes ---------- */
[data-theme="dark"]  { --bg: var(--ink);   --fg: var(--bone); --mute: var(--mute-d); --line: var(--line-d); --accent: var(--green); }
[data-theme="light"] { --bg: var(--paper); --fg: var(--ink);  --mute: var(--mute-l); --line: var(--line-l); --accent: var(--green-ink); }
[data-theme="graphite"] { --bg: var(--graphite); --fg: #f4f3f0; --mute: rgba(244, 243, 240, .66); --line: rgba(244, 243, 240, .16); --accent: #fff; }
[data-theme] { background: var(--bg); color: var(--fg); }

/* ---------- logo: only the guide's colour variations ---------- */
.logo { display: block; overflow: visible; }
.logo__k { fill: var(--logo-k, #fff); transition: fill .5s var(--ease); }
.logo__g { fill: var(--logo-g, #00b451); transition: fill .5s var(--ease); }
.logo__tag { fill: var(--logo-k, #fff); font: 600 13.7px/1 'Cairo', sans-serif; }
[data-theme="light"], .nav[data-on="light"] { --logo-k: #414042; --logo-g: #00b451; }
[data-theme="dark"], [data-theme="graphite"], .nav[data-on="dark"], .nav[data-on="graphite"] { --logo-k: #fff; --logo-g: #00b451; }

/* ---------- type ---------- */
.h2 {
  font: 300 clamp(38px, 5vw, 86px)/1.14 var(--f-display);
  letter-spacing: 0;
}
.mute { color: var(--mute); }
.lead {
  color: var(--mute);
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.85;
  max-width: 30em;
}
html[lang="en"] .h2,
html[lang="en"] .hero__title,
html[lang="en"] .cta__title,
html[lang="en"] .about__manifesto,
html[lang="en"] .index__t { letter-spacing: -.02em; }
html[lang="en"] .lead { line-height: 1.7; }

.label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--mute);
  margin-bottom: clamp(28px, 4vh, 44px);
}
.label > span:first-child {
  font: 400 12px/1 var(--f-mono);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.label > span:first-child::after {
  content: '';
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: .6;
}

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  height: 58px;
  padding-inline: 30px 8px;
  border-radius: 999px;
  background: var(--fg);
  color: var(--bg);
  font: 500 15px/1 var(--f-body);
  white-space: nowrap;
  transition: background-color .5s var(--ease), transform .5s var(--ease);
}
.btn__arr {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--fg);
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: none;
}
.btn__arr svg, .i-ext {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
[dir="rtl"] .btn__arr svg, [dir="rtl"] .i-ext { transform: scaleX(-1); }
.btn:hover { background: color-mix(in srgb, var(--fg) 86%, var(--bg)); }
.btn:hover .btn__arr svg { animation: arr .7s var(--ease); }
@keyframes arr {
  0% { translate: 0 0; }
  45% { translate: calc(var(--dir) * 140%) 0; }
  46% { translate: calc(var(--dir) * -140%) 0; }
  100% { translate: 0 0; }
}

.link {
  position: relative;
  display: inline-block;
  padding-block: 4px;
  font-size: 15px;
  color: var(--fg);
  background: linear-gradient(currentColor, currentColor) no-repeat;
  background-size: 100% 1px;
  background-position: 100% 100%;
  transition: background-size .6s var(--ease);
}
[dir="ltr"] .link { background-position: 0 100%; }
.link:hover { animation: underline .9s var(--ease); }
@keyframes underline {
  0% { background-size: 100% 1px; }
  50% { background-size: 0 1px; background-position-x: 0; }
  51% { background-size: 0 1px; background-position-x: 100%; }
  100% { background-size: 100% 1px; }
}
[dir="ltr"] .link:hover { animation-name: underline-ltr; }
@keyframes underline-ltr {
  0% { background-size: 100% 1px; background-position-x: 100%; }
  50% { background-size: 0 1px; background-position-x: 100%; }
  51% { background-size: 0 1px; background-position-x: 0; }
  100% { background-size: 100% 1px; background-position-x: 0; }
}

/* ---------- reveal ---------- */
html.js .rv {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1.1s var(--ease) var(--d, 0ms), transform 1.3s var(--ease) var(--d, 0ms);
}
html.js .rv.is-in { opacity: 1; transform: none; }

.split .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-block: .16em .12em;
  margin-block: -.16em -.12em;
}
html.js .split .w > span {
  display: inline-block;
  transform: translateY(112%);
  transition: transform 1.4s var(--ease);
  transition-delay: calc(var(--i, 0) * 42ms + var(--d, 0ms));
}
html.js .split.is-in .w > span { transform: none; }

html.still *, html.still *::before, html.still *::after { transition: none !important; animation: none !important; }
html.still .rv, html.still .split .w > span { opacity: 1 !important; transform: none !important; }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: var(--nav-h);
  color: var(--bone);
  transition: color .5s var(--ease), transform .7s var(--ease);
}
.nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(14, 14, 15, .82);
  border-bottom: 1px solid var(--line-d);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  opacity: 0;
  transition: opacity .5s var(--ease), background-color .5s var(--ease), border-color .5s;
}
.nav.is-solid::before { opacity: 1; }
.nav[data-on="light"] { color: var(--ink); }
.nav[data-on="light"]::before { background: rgba(242, 240, 235, .86); border-color: var(--line-l); }
.nav[data-on="graphite"]::before { background: rgba(58, 57, 59, .88); border-color: rgba(244, 243, 240, .12); }
.nav.is-hidden { transform: translateY(-100%); }

.nav__inner {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.brand { justify-self: start; display: block; padding-block: 6px; }
.brand__logo { width: 112px; height: auto; }
/* hover: the X's chevrons turn over in a clockwise wave, drawing in a touch as they
   pass edge-on, and land exactly where they were (each chevron is symmetric). */
.brand__logo .logo__c { transform-box: fill-box; transform-origin: center; }
.brand.is-flip .logo__c { animation: .74s cubic-bezier(.65, 0, .35, 1) both; }
.brand.is-flip .logo__c--t { animation-name: exsFlipT; }
.brand.is-flip .logo__c--r { animation-name: exsFlipR; animation-delay: .08s; }
.brand.is-flip .logo__c--b { animation-name: exsFlipB; animation-delay: .16s; }
.brand.is-flip .logo__c--l { animation-name: exsFlipL; animation-delay: .24s; }
@keyframes exsFlipT { 0% { transform: translateY(0) scaleX(1); } 50% { transform: translateY(2.4px) scaleX(0); } 100% { transform: translateY(0) scaleX(-1); } }
@keyframes exsFlipB { 0% { transform: translateY(0) scaleX(1); } 50% { transform: translateY(-2.4px) scaleX(0); } 100% { transform: translateY(0) scaleX(-1); } }
@keyframes exsFlipR { 0% { transform: translateX(0) scaleY(1); } 50% { transform: translateX(-2.4px) scaleY(0); } 100% { transform: translateX(0) scaleY(-1); } }
@keyframes exsFlipL { 0% { transform: translateX(0) scaleY(1); } 50% { transform: translateX(2.4px) scaleY(0); } 100% { transform: translateX(0) scaleY(-1); } }
.nav__links { display: flex; gap: clamp(20px, 2.4vw, 40px); }
.nav__links a {
  font-size: 14px;
  opacity: .62;
  transition: opacity .3s;
}
.nav__links a:hover, .nav__links a.is-active { opacity: 1; }
.nav__actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 28px);
}
.nav__lang {
  font: 500 12px/1 var(--f-mono);
  letter-spacing: .06em;
  opacity: .7;
  padding: 8px 2px;
}
.nav__lang:hover { opacity: 1; }
.nav__login { font-size: 14px; opacity: .8; }
.nav__login:hover { opacity: 1; }
.nav__open {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding-inline: 20px;
  border-radius: 999px;
  border: 1px solid currentColor;
  font-size: 14px;
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s;
}
.nav__open:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.nav[data-on="light"] .nav__open:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.burger { display: none; width: 40px; height: 40px; position: relative; }
.burger span {
  position: absolute;
  inset-inline: 9px;
  height: 1px;
  background: currentColor;
  transition: transform .5s var(--ease), top .5s var(--ease);
}
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 23px; }
body.nav-open .burger span:first-child { top: 20px; transform: rotate(45deg); }
body.nav-open .burger span:last-child { top: 20px; transform: rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: var(--ink);
  color: var(--bone);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--nav-h) + 24px) 0 32px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s var(--ease), visibility .6s;
}
body.nav-open .menu { opacity: 1; visibility: visible; }
body.nav-open .nav { color: var(--bone); }
body.nav-open .nav::before { opacity: 0; }
.menu__links a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-d);
}
.menu__links span { font: 12px var(--f-mono); color: var(--mute-d); }
.menu__links b { font: 300 32px/1.2 var(--f-display); }
.menu__foot { display: flex; justify-content: space-between; font-size: 14px; color: var(--mute-d); }

/* ---------- HERO ---------- */
.hero { position: relative; height: 260vh; }
.hero__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
}
.hero__light {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 38% 46% at 50% 40%, rgba(236, 233, 227, .075), rgba(236, 233, 227, 0) 72%),
    radial-gradient(ellipse 90% 70% at 50% 110%, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 70%);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__fallback { display: none; position: absolute; inset: 0; place-items: center; padding-bottom: 24vh; }
.hero__fallback img { width: min(36vh, 50vw); }
body.no-webgl .hero__fallback { display: grid; }

.hero__meta {
  position: absolute;
  inset-inline: 0;
  top: calc(var(--nav-h) + 8px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--mute-d);
  opacity: calc(1 - var(--a, 0));
}
.hero__coords { font: 400 12px var(--f-mono); letter-spacing: .04em; }
.hero__status { display: inline-flex; align-items: center; gap: 10px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mute-d); }
.dot.is-open { background: var(--green); }

.hero__intro {
  position: absolute;
  inset-inline: 0;
  bottom: clamp(36px, 8vh, 96px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  align-items: end;
  gap: 48px;
  opacity: calc(1 - var(--a, 0));
  transform: translateY(calc(var(--a, 0) * -48px));
  pointer-events: auto;
}
.hero__title {
  font: 300 clamp(44px, 6vw, 108px)/1.1 var(--f-display);
  --d: 150ms;
}
.hero.is-open .hero__intro { pointer-events: none; }
.hero__lead { color: var(--mute-d); font-size: 16px; line-height: 1.85; }
.hero__cta { display: flex; align-items: center; gap: 28px; margin-top: 28px; flex-wrap: wrap; }

.hero__statement {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  pointer-events: none;
  opacity: var(--s, 0);
}
.hero__statement p {
  font: 300 clamp(24px, 3.1vw, 50px)/1.5 var(--f-display);
  max-width: 21em;
  text-wrap: balance;
}
html[lang="en"] .hero__statement p { letter-spacing: -.02em; line-height: 1.35; }
.scrub .w > span { opacity: var(--o, .14); }

.hero__cue {
  position: absolute;
  bottom: 22px;
  left: 50%;
  translate: -50% 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--mute-d);
}
.hero.is-open .hero__cue.rv.is-in { opacity: 0; }
.hero__cue i { width: 1px; height: 36px; background: var(--line-d); position: relative; overflow: hidden; }
.hero__cue i::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bone);
  animation: cue 2.4s var(--ease-io) infinite;
}
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ---------- ticker band ---------- */
.band {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  height: 58px;
  border-block: 1px solid var(--line);
}
.band__viewport {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.band__track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.band:hover .band__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.t-item {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  padding-inline: 32px;
  font: 400 13px/1 var(--f-mono);
  color: var(--mute);
  white-space: nowrap;
}
.t-item + .t-item { border-inline-start: 1px solid var(--line); }
.t-sym { color: var(--fg); }
.t-px { transition: color .6s; }
.t-ch.up { color: var(--green); }
.t-ch.down { color: #b4aea4; }
.band__note {
  padding-inline: var(--pad);
  font-size: 12px;
  color: var(--mute);
  white-space: nowrap;
  border-inline-start: 1px solid var(--line);
  align-self: stretch;
  display: flex;
  align-items: center;
}

/* ---------- sections ---------- */
.section { position: relative; padding-block: clamp(104px, 16vh, 200px); }
.head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 27em);
  align-items: end;
  gap: 32px 64px;
  margin-bottom: clamp(56px, 9vh, 110px);
}

/* ---------- ABOUT ---------- */
.about__manifesto {
  font: 300 clamp(30px, 3.7vw, 62px)/1.38 var(--f-display);
  max-width: 21em;
}
html[lang="en"] .about__manifesto { line-height: 1.22; max-width: 20em; }
.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px clamp(24px, 3vw, 56px);
  margin-top: clamp(88px, 14vh, 170px);
}
.pillar { border-top: 1px solid var(--line); padding-top: 22px; }
.pillar__n { font: 400 12px var(--f-mono); color: var(--mute); }
.pillar h3 { font: 400 clamp(22px, 1.8vw, 28px)/1.3 var(--f-display); margin: clamp(36px, 6vh, 64px) 0 14px; }
.pillar p { color: var(--mute); max-width: 26em; }

.figures {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(88px, 14vh, 170px);
  border-top: 1px solid var(--line);
}
.figure { padding: 32px clamp(16px, 2vw, 32px) 0; border-inline-start: 1px solid var(--line); }
.figure:first-child { border-inline-start: 0; padding-inline-start: 0; }
.figure strong {
  display: inline-block;
  font: 200 clamp(56px, 6.6vw, 118px)/1 var(--f-display);
  letter-spacing: -.045em;
  white-space: nowrap;
}
.figure span:not([data-count]) { display: block; margin-top: 22px; color: var(--mute); font-size: 15px; max-width: 16em; }

/* ---------- MARKETS ---------- */
.markets { overflow: hidden; }
.markets__top {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: 32px;
}
.markets .lead { margin-top: 28px; }

.sessions { margin-top: clamp(48px, 8vh, 80px); }
.sessions__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--mute);
}
.sessions__clock b { font: 500 13px var(--f-mono); color: var(--fg); margin-inline-start: 6px; }
.sessions__list li {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 10.5em;
  align-items: center;
  gap: 16px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.s-name { display: flex; align-items: center; gap: 14px; font: 400 18px/1.2 var(--f-display); }
.s-name::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(236, 233, 227, .22);
  flex: none;
}
.sessions__list li.is-open .s-name::before { background: var(--green); }
.s-hours { font: 400 13px var(--f-mono); color: var(--mute); }
.s-state { font-size: 13px; color: var(--mute); text-align: end; white-space: nowrap; }
.sessions__list li.is-open .s-state { color: var(--fg); }
.s-bar { position: absolute; inset-inline: 0; bottom: -1px; height: 1px; }
.s-bar i { display: block; height: 100%; width: var(--p, 0%); background: var(--bone); opacity: .7; transition: width 1s linear; }
.sessions__note { margin-top: 16px; font-size: 12px; color: var(--mute); }

.globe {
  position: relative;
  width: 128%;
  aspect-ratio: 1;
  margin-inline-end: -28%;
  margin-block: -6%;
}
.globe canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.globe canvas:active { cursor: grabbing; }
.globe__labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.g-label {
  position: absolute;
  direction: ltr;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 400 12px/1 var(--f-body);
  color: rgba(236, 233, 227, .62);
  white-space: nowrap;
  will-change: transform, opacity;
}
.g-label.is-open { color: var(--bone); }
.g-label.is-home { color: var(--bone); font-weight: 500; }
.globe__hint {
  position: absolute;
  bottom: 16%;
  inset-inline-start: 12%;
  font-size: 12px;
  color: var(--mute);
}

.index__head {
  display: flex;
  justify-content: space-between;
  margin-top: clamp(96px, 15vh, 180px);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--mute);
}
.index__head span:last-child { font: 12px var(--f-mono); }
.index__row {
  position: relative;
  display: grid;
  grid-template-columns: 4.5em minmax(0, 5fr) minmax(0, 4fr) 7em 150px;
  align-items: center;
  gap: clamp(16px, 2vw, 32px);
  padding-block: clamp(28px, 4.4vh, 44px);
  border-bottom: 1px solid var(--line);
}
.index__row::before {
  content: '';
  position: absolute;
  inset: 0 calc(var(--pad) * -1);
  background: var(--ink-2);
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform .7s var(--ease);
  z-index: 0;
}
.index__row > * { position: relative; z-index: 1; }
.index__row:hover::before { transform: scaleY(1); }
.index__n { font: 400 12px var(--f-mono); color: var(--mute); }
.index__t {
  font: 200 clamp(42px, 5.4vw, 92px)/1.08 var(--f-display);
  transition: transform .8s var(--ease);
}
.index__row:hover .index__t { transform: translateX(calc(var(--dir) * 18px)); }
.index__d { color: var(--mute); max-width: 24em; font-size: 15px; }
.index__s { font: 400 12px/1.9 var(--f-mono); color: var(--mute); }
.index__spark { width: 150px; height: 54px; }

/* ---------- PLATFORM ---------- */
.device {
  perspective: 1800px;
  perspective-origin: 50% 0%;
}
.terminal {
  --t: var(--tilt, 0);
  transform: rotateX(calc(var(--t) * 24deg)) scale(calc(1 - var(--t) * .1));
  transform-origin: 50% 0%;
  background: #111112;
  color: var(--bone);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(20, 20, 21, .9),
    inset 0 1px 0 rgba(255, 255, 255, .06),
    0 70px 120px -50px rgba(20, 20, 21, .5),
    0 30px 50px -30px rgba(20, 20, 21, .35);
  will-change: transform;
}
.terminal__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  height: 56px;
  padding-inline: 22px;
  border-bottom: 1px solid rgba(236, 233, 227, .08);
}
.tabs { display: flex; gap: 4px; }
.tabs button {
  position: relative;
  padding: 8px 12px;
  font: 400 12px/1 var(--f-mono);
  color: var(--mute-d);
  transition: color .3s;
}
.tabs button::after {
  content: '';
  position: absolute;
  inset-inline: 12px;
  bottom: -2px;
  height: 1px;
  background: var(--bone);
  transform: scaleX(0);
  transition: transform .5s var(--ease);
}
.tabs button:hover { color: var(--bone); }
.tabs button.is-on { color: var(--bone); }
.tabs button.is-on::after { transform: scaleX(1); }
.terminal__body { position: relative; height: clamp(360px, 54vh, 580px); }
.terminal__body canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.terminal__demo {
  position: absolute;
  top: 16px;
  left: 22px;
  font-size: 11px;
  color: var(--mute-d);
}
.chart-price {
  position: absolute;
  top: 0;
  left: 0;
  padding: 4px 8px;
  border-radius: 3px;
  background: var(--bone);
  color: var(--ink);
  font: 500 11.5px/1 var(--f-mono);
  opacity: 0;
  will-change: transform;
}
.chart-price.is-down { background: #8e8a83; }
.chart-tip {
  position: absolute;
  top: 0;
  left: 0;
  padding: 10px 12px;
  border-radius: 6px;
  background: rgba(27, 27, 29, .96);
  border: 1px solid rgba(236, 233, 227, .1);
  font: 400 11.5px/1.7 var(--f-mono);
  color: var(--mute-d);
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s;
  white-space: nowrap;
}
.chart-tip b { color: var(--bone); font-weight: 500; }
.chart-tip.is-on { opacity: 1; }
.terminal__foot {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid rgba(236, 233, 227, .08);
}
.terminal__foot div { padding: 14px 22px; }
.terminal__foot div + div { border-left: 1px solid rgba(236, 233, 227, .08); }
.terminal__foot small { display: block; font: 400 11px/1.4 var(--f-body); color: var(--mute-d); }
.terminal__foot b { font: 500 14px/1.6 var(--f-mono); }
.terminal__foot b.up { color: var(--green); }
.terminal__foot b.down { color: #b4aea4; }

.platform__info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px clamp(40px, 6vw, 112px);
  margin-top: clamp(64px, 10vh, 120px);
}
.features { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; align-content: start; }
.features li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.features span { font: 400 12px var(--f-mono); color: var(--mute); }
.features b { font: 400 19px/1.35 var(--f-display); }
.downloads__label { display: block; font-size: 13px; color: var(--mute); padding-bottom: 14px; }
.downloads a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  font: 400 20px/1.2 var(--f-display);
}
.downloads a:last-child { border-bottom: 1px solid var(--line); }
.downloads a .i-ext { transition: transform .6s var(--ease); }
[dir="rtl"] .downloads a:hover .i-ext { transform: translate(-4px, -4px) scaleX(-1); }
[dir="ltr"] .downloads a:hover .i-ext { transform: translate(4px, -4px); }

/* ---------- SERVICES ---------- */
.services { padding-top: 0; }
.services__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px clamp(40px, 6vw, 112px);
  border-top: 1px solid var(--line);
  padding-top: clamp(80px, 12vh, 140px);
}
.services__sticky { position: sticky; top: calc(var(--nav-h) + 48px); }
.services .lead { margin-top: 28px; }
.svc { border-top: 1px solid var(--line); }
.svc__row {
  display: grid;
  grid-template-columns: 4.5em minmax(0, 1fr);
  gap: 16px;
  padding-block: clamp(26px, 4vh, 40px);
  border-bottom: 1px solid var(--line);
}
.svc__n { font: 400 12px var(--f-mono); color: var(--mute); padding-top: .9em; transition: color .4s; }
.svc h3 { font: 300 clamp(26px, 2.6vw, 42px)/1.25 var(--f-display); transition: transform .8s var(--ease); }
.svc p { margin-top: 10px; color: var(--mute); max-width: 30em; }
.svc__row:hover h3 { transform: translateX(calc(var(--dir) * 14px)); }
.svc__row:hover .svc__n { color: var(--accent); }

/* ---------- STEPS ---------- */
.steps__track { position: relative; }
.steps__line {
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  background: var(--line);
}
.steps__line i {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: calc(var(--sp, 0) * 100%);
  background: var(--bone);
}
.steps__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 40px);
}
.step { position: relative; padding-top: 40px; }
.step::before {
  content: '';
  position: absolute;
  top: -4px;
  inset-inline-start: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink);
  border: 1px solid rgba(236, 233, 227, .3);
  transition: background-color .5s, border-color .5s;
}
.step.is-on::before { background: var(--bone); border-color: var(--bone); }
.step:last-child.is-on::before { background: var(--green); border-color: var(--green); }
.step__n {
  display: inline-block;
  font: 200 clamp(52px, 5vw, 88px)/1 var(--f-display);
  letter-spacing: -.04em;
  color: rgba(236, 233, 227, .18);
  transition: color .8s var(--ease);
}
.step.is-on .step__n { color: var(--bone); }
.step h3 { font: 400 20px/1.35 var(--f-display); margin: clamp(28px, 5vh, 52px) 0 10px; }
.step p { color: var(--mute); font-size: 15px; }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 42% 58% at var(--cx, 28%) var(--cy, 46%), rgba(255, 255, 255, .07), rgba(255, 255, 255, 0) 72%),
    radial-gradient(ellipse 120% 90% at 50% 40%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .34) 100%),
    var(--graphite);
}
[dir="ltr"] .cta { --cx: 72%; }
.cta__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.cta__inner { position: relative; padding-block: clamp(120px, 18vh, 200px); }
.cta__title {
  font: 300 clamp(42px, 5.2vw, 96px)/1.12 var(--f-display);
  max-width: 9.5em;
}
.cta .lead { margin-top: 28px; color: var(--mute); max-width: 30em; }
.cta__btns { display: flex; align-items: center; gap: 32px; margin-top: 44px; flex-wrap: wrap; }
.cta .btn:hover { background: #fff; }

/* ---------- FOOTER ---------- */
.footer { padding-top: clamp(88px, 13vh, 150px); overflow: hidden; }
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 64px;
}
.footer__about p { font: 300 clamp(20px, 1.6vw, 26px)/1.55 var(--f-display); max-width: 17em; }
.footer h4 { font-size: 13px; color: var(--mute); margin-bottom: 18px; }
.footer li { padding-block: 4px; font-size: 15px; }
.footer li a { opacity: .9; transition: opacity .3s; }
.footer li a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.risk {
  padding-block: 28px;
  border-block: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.95;
  color: var(--mute);
}
.risk b { color: var(--fg); font-weight: 500; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-block: 22px;
  font-size: 13px;
  color: var(--mute);
}
.footer__bottom .link { font-size: 13px; color: var(--mute); }
.footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 28px; }
.footer__legal a:not(.link) { color: var(--mute); transition: color .3s; }
.footer__legal a:not(.link):hover { color: var(--fg); }
.footer__sign { padding-block: clamp(40px, 7vw, 110px) clamp(36px, 5vw, 72px); }
.footer__logo { width: 100%; height: auto; }
html.js .footer__sign.rv { opacity: 1; transform: none; }
.footer__sign .footer__logo { opacity: 0; transform: translateY(40px); transition: opacity 1.4s var(--ease), transform 1.8s var(--ease); }
.footer__sign.is-in .footer__logo, .still .footer__sign .footer__logo { opacity: 1; transform: none; }

/* ---------- WhatsApp ---------- */
.wa {
  position: fixed;
  inset-inline-end: 22px;
  bottom: 22px;
  z-index: 40;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink-3);
  color: var(--bone);
  border: 1px solid rgba(236, 233, 227, .14);
  transition: transform .5s var(--ease), background-color .4s;
}
.wa svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; }
.wa:hover { transform: scale(1.06); background: #232325; }

/* ---------- page-to-page fade ---------- */
html.is-leaving main, html.is-leaving footer, html.is-leaving .wa {
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity .38s var(--ease-io), transform .38s var(--ease-io);
}
.more { margin-top: 36px; }
.footer__about .btn { margin-top: 36px; }
.journal .lead .link { margin-top: 18px; }

/* =========================================================
   Inner pages
   ========================================================= */

/* ---------- page hero ---------- */
.phero {
  position: relative;
  min-height: min(100vh, 1040px);
  min-height: min(100svh, 1040px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(56px, 10vh, 112px);
  overflow: hidden;
  isolation: isolate;
}
.phero__light {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 34% 48% at var(--lx, 24%) 46%, rgba(236, 233, 227, .07), rgba(236, 233, 227, 0) 72%),
    radial-gradient(ellipse 90% 60% at 50% 115%, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 70%);
}
[dir="ltr"] .phero { --lx: 76%; }
.phero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.phero__fallback { display: none; position: absolute; inset: 0; z-index: -1; place-items: center; justify-content: end; padding-inline: 12vw; }
[dir="ltr"] .phero__fallback { justify-content: end; }
[dir="rtl"] .phero__fallback { justify-content: start; }
.phero__fallback img { width: min(30vw, 44vh); }
body.no-webgl .phero__fallback { display: grid; }
.phero__meta {
  position: absolute;
  inset-inline: 0;
  top: calc(var(--nav-h) + 8px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--mute-d);
}
.phero__meta i { font-style: normal; opacity: .5; margin-inline: 8px; }
.phero__meta a:hover { color: var(--bone); }
.phero__meta [dir="ltr"] { font: 400 12px var(--f-mono); letter-spacing: .04em; }
.phero__body { position: relative; }
.phero__title {
  font: 300 clamp(46px, 6.4vw, 116px)/1.1 var(--f-display);
  max-width: 8.6em;
  --d: 120ms;
}
html[lang="en"] .phero__title { letter-spacing: -.02em; line-height: 1.04; max-width: 8em; }
.phero__lead {
  margin-top: clamp(28px, 4vh, 44px);
  max-width: 30em;
  color: var(--mute-d);
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.85;
}
.phero__foot {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 36px;
}

/* ---------- values strip ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--line);
}
.values li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px var(--pad);
  font: 300 clamp(17px, 1.5vw, 24px)/1.3 var(--f-display);
}
.values li + li { border-inline-start: 1px solid var(--line); }
.values span { font: 400 12px var(--f-mono); color: var(--mute); }

/* ---------- generic numbered rows (platforms, downloads, library) ---------- */
.rows { border-top: 1px solid var(--line); }
.row {
  position: relative;
  display: grid;
  grid-template-columns: 4.5em minmax(0, 5fr) minmax(0, 4fr) minmax(7em, auto);
  align-items: center;
  gap: clamp(16px, 2vw, 32px);
  padding-block: clamp(26px, 4.2vh, 42px);
  border-bottom: 1px solid var(--line);
}
.row::before {
  content: '';
  position: absolute;
  inset: 0 calc(var(--pad) * -1);
  background: color-mix(in srgb, var(--fg) 4%, var(--bg));
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform .7s var(--ease);
}
.row > * { position: relative; }
a.row:hover::before, .row:hover::before { transform: scaleY(1); }
.row__n { font: 400 12px var(--f-mono); color: var(--mute); }
.row__t { font: 300 clamp(30px, 3.4vw, 58px)/1.12 var(--f-display); transition: transform .8s var(--ease); }
html[lang="en"] .row__t { letter-spacing: -.015em; }
.row:hover .row__t { transform: translateX(calc(var(--dir) * 14px)); }
.row__d { color: var(--mute); max-width: 26em; font-size: 15px; }
.row__m {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 400 12px/1.8 var(--f-mono);
  color: var(--mute);
  white-space: nowrap;
  text-align: end;
}
a.row .row__m { color: var(--fg); }
a.row .i-ext { transition: transform .6s var(--ease); }
[dir="rtl"] a.row:hover .i-ext { transform: translate(-4px, -4px) scaleX(-1); }
[dir="ltr"] a.row:hover .i-ext { transform: translate(4px, -4px); }
.tag {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding-inline: 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font: 400 12px/1 var(--f-body);
  color: var(--mute);
}
.tag--on { color: var(--fg); border-color: color-mix(in srgb, var(--fg) 40%, transparent); }

.duo {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 48px clamp(40px, 6vw, 112px);
  align-items: start;
}
.pillars--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 0; }
.duo .row { grid-template-columns: 3.4em minmax(0, 1fr) auto; row-gap: 10px; }
.duo .row__d { grid-column: 2 / -1; grid-row: 2; }
.duo .features { grid-template-columns: 1fr; }
[dir="rtl"] .row__t[dir="ltr"] { text-align: right; }
.steps__track--4 .steps__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.figures--plain { margin-top: 0; }
.note { margin-top: 28px; font-size: 12.5px; color: var(--mute); }

/* ---------- services explorer ---------- */
.explorer {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px clamp(40px, 6vw, 112px);
  align-items: start;
}
.explorer__tabs { border-top: 1px solid var(--line); position: sticky; top: calc(var(--nav-h) + 40px); }
.explorer__tabs button {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 3.4em 1fr auto;
  align-items: baseline;
  gap: 12px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  text-align: start;
  color: var(--mute);
  transition: color .4s;
}
.explorer__tabs button span:first-child { font: 400 12px var(--f-mono); }
.explorer__tabs button b { font: 300 clamp(20px, 1.7vw, 27px)/1.3 var(--f-display); }
.explorer__tabs button::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  height: 1px;
  background: var(--fg);
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform .7s var(--ease);
}
[dir="ltr"] .explorer__tabs button::after { transform-origin: 0 50%; }
.explorer__tabs button:hover, .explorer__tabs button.is-on { color: var(--fg); }
.explorer__tabs button.is-on::after { transform: scaleX(1); }
.explorer__tabs button i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  opacity: 0; transform: scale(.4);
  transition: opacity .4s, transform .6s var(--ease);
}
.explorer__tabs button.is-on i { opacity: 1; transform: none; }
.explorer__panels { display: grid; }
.panel {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .9s var(--ease), visibility .6s;
}
.panel.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: .08s; }
.panel__n {
  display: block;
  font: 200 clamp(110px, 13vw, 220px)/.86 var(--f-display);
  letter-spacing: -.05em;
  color: color-mix(in srgb, var(--fg) 12%, var(--bg));
}
.panel__t { font: 300 clamp(36px, 4.4vw, 74px)/1.12 var(--f-display); margin-top: clamp(24px, 4vh, 40px); }
html[lang="en"] .panel__t { letter-spacing: -.02em; }
.panel__d { margin-top: 18px; color: var(--mute); font-size: clamp(16px, 1.2vw, 19px); max-width: 28em; }
.panel ul { margin-top: clamp(36px, 6vh, 64px); display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
.panel li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  font: 400 18px/1.4 var(--f-display);
}
.panel li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex: none; translate: 0 -3px; }

/* ---------- blog ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(40px, 6vh, 64px); }
.filters button {
  height: 40px;
  padding-inline: 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  color: var(--mute);
  transition: color .3s, border-color .3s, background-color .4s var(--ease);
}
.filters button:hover { color: var(--fg); border-color: color-mix(in srgb, var(--fg) 40%, transparent); }
.filters button.is-on { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.posts { border-top: 1px solid var(--line); }
.post a {
  position: relative;
  display: grid;
  grid-template-columns: 4.5em 9em minmax(0, 5fr) minmax(0, 4fr) auto;
  align-items: baseline;
  gap: clamp(16px, 2vw, 32px);
  padding-block: clamp(28px, 4.4vh, 44px);
  border-bottom: 1px solid var(--line);
}
.post a::before {
  content: '';
  position: absolute;
  inset: 0 calc(var(--pad) * -1);
  background: color-mix(in srgb, var(--fg) 4%, var(--bg));
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform .7s var(--ease);
}
.post a > * { position: relative; }
.post a:hover::before { transform: scaleY(1); }
.post__n { font: 400 12px var(--f-mono); color: var(--mute); }
.post__cat { font-size: 13px; color: var(--mute); }
.post__t { font: 300 clamp(26px, 2.6vw, 44px)/1.2 var(--f-display); transition: transform .8s var(--ease); }
html[lang="en"] .post__t { letter-spacing: -.015em; }
.post a:hover .post__t { transform: translateX(calc(var(--dir) * 14px)); }
.post__d { color: var(--mute); font-size: 15px; max-width: 26em; }
.post__src { display: inline-flex; align-items: center; gap: 10px; font: 400 12px var(--f-mono); }
.post a .i-ext { transition: transform .6s var(--ease); }
[dir="rtl"] .post a:hover .i-ext { transform: translate(-4px, -4px) scaleX(-1); }
[dir="ltr"] .post a:hover .i-ext { transform: translate(4px, -4px); }
.post[hidden], .posts__empty[hidden] { display: none; }
.posts__empty { padding: 64px 0; border-bottom: 1px solid var(--line); color: var(--mute); font: 300 clamp(20px, 1.8vw, 28px)/1.4 var(--f-display); }

/* ---------- contact ---------- */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 64px clamp(40px, 7vw, 128px);
  align-items: start;
}
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 32px; }
.field { position: relative; display: block; padding-top: 22px; }
.field--wide { grid-column: 1 / -1; }
.field span { position: absolute; top: 0; inset-inline-start: 0; font-size: 13px; color: var(--mute); }
.field input, .field textarea {
  width: 100%;
  padding: 12px 0 14px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--fg);
  font: 300 clamp(19px, 1.5vw, 23px)/1.5 var(--f-display);
  outline: none;
  transition: border-color .4s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder, .field textarea::placeholder { color: color-mix(in srgb, var(--fg) 26%, transparent); }
.field input:focus, .field textarea:focus { border-color: var(--fg); }
.field input[dir="ltr"] { text-align: end; }
[dir="ltr"] .field input[dir="ltr"] { text-align: start; }
.form__foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 36px; }
.form__foot .btn { border: 0; cursor: pointer; }
.form__status { grid-column: 1 / -1; min-height: 1.75em; font-size: 14px; color: #b0533a; }
.form__status.is-ok { color: var(--accent); }
.form__note { grid-column: 1 / -1; font-size: 12.5px; color: var(--mute); }

.info { border-top: 1px solid var(--line); }
.info li { display: grid; grid-template-columns: 7.5em 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.info small { font-size: 13px; color: var(--mute); }
.info b { font: 300 clamp(18px, 1.4vw, 21px)/1.5 var(--f-display); }
.info a b { transition: opacity .3s; }
.info a:hover b { opacity: .7; }
.info .link { display: inline-block; margin-top: 8px; font-size: 14px; }
.socials { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.socials a { font-size: 15px; }

.map { position: relative; height: clamp(420px, 70vh, 720px); overflow: hidden; }
/* the office map: OpenStreetMap tiles in a night look + the ExSyria pin (page.js) */
.map__view { position: absolute; inset: 0; background: #19191b; overflow: hidden; }
.map__tiles {
  position: absolute;
  inset: 0;
  filter: invert(1) hue-rotate(180deg) brightness(.86) contrast(.9) saturate(.38);
}
.map__tiles img {
  position: absolute;
  width: 256px;
  height: 256px;
  max-width: none;
  user-select: none;
  -webkit-user-drag: none;
  opacity: 0;
  transition: opacity .6s var(--ease);
}
.map__tiles img.is-in { opacity: 1; }
.map__view::after { /* soft vignette: the map fades into the page */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 75% 70% at var(--px, 50%) var(--py, 45%), rgba(14, 14, 15, 0) 40%, rgba(14, 14, 15, .6) 100%),
    linear-gradient(rgba(14, 14, 15, .5), rgba(14, 14, 15, 0) 18%, rgba(14, 14, 15, 0) 82%, rgba(14, 14, 15, .5));
}
.map__pin {
  position: absolute;
  z-index: 2;
  left: var(--px, 50%);
  top: var(--py, 45%);
  width: 0;
  height: 0;
}
.map__dot {
  position: absolute;
  left: -7px;
  top: -7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px #0e0e0f, 0 0 0 4px rgba(255, 255, 255, .5);
}
.map__ring {
  position: absolute;
  left: -40px;
  top: -40px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 1.5px solid var(--green);
  opacity: 0;
  animation: mapPing 3s cubic-bezier(.2, .6, .35, 1) infinite;
}
.map__ring + .map__ring { animation-delay: 1.5s; }
@keyframes mapPing { 0% { transform: scale(.15); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
.map__badge {
  position: absolute;
  left: -29px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #0e0e0f;
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .5);
  transition: transform .4s var(--ease);
}
.map__badge::after { /* the stem down to the office */
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 1px;
  height: 16px;
  background: linear-gradient(rgba(255, 255, 255, .5), rgba(255, 255, 255, .1));
}
.map__badge:hover { transform: translateY(-3px); }
.map__badge .logo { width: 30px; height: 30px; }
.map__attr {
  position: absolute;
  z-index: 2;
  bottom: 10px;
  inset-inline-end: 12px;
  font-size: 11px;
  color: rgba(244, 243, 240, .5);
}
.map__attr:hover { color: #fff; }
@media (prefers-reduced-motion: reduce) { .map__ring { animation: none; } }
.map__card {
  position: absolute;
  inset-inline-start: var(--pad);
  bottom: var(--pad);
  max-width: 360px;
  padding: 26px 28px;
  background: rgba(14, 14, 15, .92);
  border: 1px solid var(--line-d);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.map__card small { display: block; font-size: 12px; color: var(--mute-d); margin-bottom: 8px; }
.map__card b { display: block; font: 300 22px/1.4 var(--f-display); margin-bottom: 10px; }
.map__coords { display: block; font: 400 11.5px/1 var(--f-mono); letter-spacing: .04em; color: var(--mute-d); margin-bottom: 18px; }
.map__links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; }

/* ---------- socials (education) ---------- */
.follow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.follow a {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  padding: 28px clamp(16px, 2vw, 28px) 32px;
  border-bottom: 1px solid var(--line);
  transition: background-color .5s var(--ease);
}
.follow a + a { border-inline-start: 1px solid var(--line); }
.follow a:first-child { padding-inline-start: 0; }
.follow a:hover { background: color-mix(in srgb, var(--fg) 4%, var(--bg)); }
.follow small { font-size: 13px; color: var(--mute); }
.follow b { font: 300 clamp(26px, 2.4vw, 40px)/1.1 var(--f-display); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.follow--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- legal documents (privacy policy, client agreement) ----------
   Each document is written out in both languages; only the page's language shows. */
html[lang="ar"] .for-en, html[lang="en"] .for-ar { display: none !important; }
.lhero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(96px, 17vh, 190px)) 0 clamp(56px, 9vh, 104px);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 55% 90% at var(--lx, 14%) 0%, rgba(236, 233, 227, .07), rgba(236, 233, 227, 0) 70%),
    var(--ink);
}
[dir="ltr"] .lhero { --lx: 86%; }
.lhero__mark {
  position: absolute;
  z-index: -1;
  width: clamp(240px, 32vw, 500px);
  height: auto;
  inset-inline-end: clamp(-80px, -3vw, 0px);
  top: 54%;
  translate: 0 -50%;
  opacity: .045;
  pointer-events: none;
}
.lhero__title { font: 300 clamp(44px, 6vw, 104px)/1.08 var(--f-display); --d: 120ms; }
html[lang="en"] .lhero__title { letter-spacing: -.02em; line-height: 1.02; }
.lhero__lead {
  margin-top: clamp(24px, 3.4vh, 36px);
  max-width: 32em;
  color: var(--mute-d);
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.85;
}
.lhero__foot { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 28px; margin-top: clamp(32px, 5vh, 52px); }
.lhero__date { font-size: 13px; color: var(--mute-d); }
.btn--sm { height: 50px; padding-inline-start: 24px; font-size: 14px; gap: 16px; }
.btn--sm .btn__arr { width: 36px; height: 36px; }
.btn--dl .btn__arr svg { transform: none !important; }
.btn--dl:hover .btn__arr svg { animation-name: arrDown; }
@keyframes arrDown {
  0% { translate: 0 0; }
  45% { translate: 0 140%; }
  46% { translate: 0 -140%; }
  100% { translate: 0 0; }
}

.legal { padding-block: clamp(64px, 10vh, 120px) clamp(96px, 14vh, 170px); }
.legal__lang {
  display: grid;
  grid-template-columns: minmax(210px, 290px) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 120px);
  align-items: start;
}
.legal__toc {
  position: sticky;
  top: calc(var(--nav-h) + 28px);
  max-height: calc(100vh - var(--nav-h) - 56px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.legal__tocT {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--mute);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  list-style: none;
  pointer-events: none;
}
.legal__tocT::-webkit-details-marker { display: none; }
.legal__toc a {
  display: grid;
  grid-template-columns: 2.6em minmax(0, 1fr);
  gap: 4px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.55;
  color: var(--mute);
  transition: color .3s;
}
.legal__toc a span { font: 400 11px/2 var(--f-mono); }
.legal__toc a:hover, .legal__toc a.is-on { color: var(--fg); }
.legal__toc a.is-on span { color: var(--accent); }

.doc { max-width: 54em; min-width: 0; }
.doc__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.doc__logo { display: block; width: clamp(150px, 13vw, 196px); }
.doc__logo .logo { width: 100%; height: auto; }
.doc__co { display: grid; gap: 2px; font-size: 13px; line-height: 1.7; color: var(--mute); text-align: end; }
.doc__co b { font-size: 14px; font-weight: 600; color: var(--fg); }
.doc__title { display: none; }
.doc__note {
  margin-top: 28px;
  padding: 14px 18px;
  border-inline-start: 2px solid var(--accent);
  background: color-mix(in srgb, var(--fg) 4%, transparent);
  font-size: 14px;
  color: var(--mute);
}
.doc section { scroll-margin-top: 28px; }
.doc h2 {
  display: flex;
  align-items: baseline;
  gap: .75em;
  margin: clamp(44px, 6.5vh, 72px) 0 18px;
  font: 400 clamp(22px, 1.9vw, 30px)/1.35 var(--f-display);
}
.doc h2 span { flex: none; font: 400 12px var(--f-mono); color: var(--accent); translate: 0 -.25em; }
.doc h3 { margin: 26px 0 8px; font: 600 16px/1.6 var(--f-body); color: var(--fg); }
.doc p, .doc li, .doc dd { font-size: 16px; line-height: 1.95; color: color-mix(in srgb, var(--fg) 84%, var(--bg)); }
html[lang="en"] .doc p, html[lang="en"] .doc li, html[lang="en"] .doc dd { line-height: 1.8; }
.doc p + p { margin-top: 14px; }
.doc b, .doc dt { font-weight: 600; color: var(--fg); }
.doc a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, var(--fg) 35%, transparent);
  transition: text-decoration-color .3s;
}
.doc a:hover { text-decoration-color: currentColor; }
.doc__list { display: grid; gap: 6px; margin-top: 10px; }
.doc__list li { position: relative; padding-inline-start: 22px; }
.doc__list li::before {
  content: '';
  position: absolute;
  inset-inline-start: 4px;
  top: .9em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.doc__defs { margin-top: 12px; border-top: 1px solid var(--line); }
.doc__defs div { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 4px 24px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.doc__defs dt { line-height: 1.95; }
.doc__cl > li { display: grid; grid-template-columns: 3.4em minmax(0, 1fr); gap: 12px; padding: 12px 0; }
.doc__cl > li + li { border-top: 1px solid color-mix(in srgb, var(--fg) 7%, transparent); }
.doc__cl > li > span { font: 400 12.5px/2.5 var(--f-mono); color: var(--mute); unicode-bidi: isolate; }
.doc__cl .doc__list { margin-top: 8px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1280px) {
  .hero__cue { display: none; }
}

@media (max-width: 1180px) {
  .nav__links, .nav__login { display: none; }
  .nav__inner { grid-template-columns: 1fr auto; }
  .burger { display: block; }
  .index__row { grid-template-columns: 3.5em minmax(0, 1fr) minmax(0, 1fr) 120px; }
  .index__s { display: none; }
  .index__spark { width: 120px; }
}

@media (max-width: 920px) {
  .head { grid-template-columns: 1fr; align-items: start; }
  .markets__top { grid-template-columns: 1fr; }
  .globe { width: 124%; margin-inline: -12%; margin-block: 0 -8%; order: -1; }
  .globe__hint { inset-inline-start: 14%; bottom: 14%; }
  .pillars { grid-template-columns: 1fr; gap: 0; }
  .pillar { padding-block: 22px 32px; }
  .pillar h3 { margin-top: 20px; }
  .figures { grid-template-columns: 1fr 1fr; }
  .figure { padding-bottom: 36px; }
  .figure:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid var(--line); }
  .figure:nth-child(4) { border-top: 1px solid var(--line); }
  .platform__info { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; }
  .services__sticky { position: static; }
  .terminal__foot { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .terminal__foot div:nth-child(n+4) { display: none; }
  .steps__list, .steps__track--4 .steps__list { grid-template-columns: 1fr; gap: 0; }
  .steps__line { inset-inline: 4px auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .steps__line i { width: 100%; height: calc(var(--sp, 0) * 100%); inset-block: 0 auto; }
  .step { padding: 0 0 44px; padding-inline-start: 40px; display: grid; grid-template-columns: 3.2em 1fr; column-gap: 12px; }
  .step::before { top: 6px; inset-inline-start: 0; }
  .step__n { font-size: 40px; grid-row: span 2; }
  .step h3 { margin: 4px 0 6px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__about { grid-column: 1 / -1; }
  .cta { min-height: 0; align-items: flex-end; }
  .cta__inner { padding-top: min(78vw, 470px); padding-bottom: 104px; }
  .phero { min-height: 100vh; min-height: 100svh; }
  .phero__title { max-width: none; }
  .phero__fallback { justify-content: center !important; align-items: start; padding-top: 18vh; }
  .phero__fallback img { width: min(50vw, 30vh); }
  .values { grid-template-columns: 1fr; }
  .values li + li { border-inline-start: 0; border-top: 1px solid var(--line); }
  .values li { padding-block: 18px; }
  .duo, .explorer, .contact { grid-template-columns: 1fr; }
  .pillars--4 { grid-template-columns: 1fr 1fr; gap: 0 32px; }
  .explorer__tabs { display: none; }
  .explorer__panels { gap: 72px; }
  .panel, .panel.is-on { grid-area: auto; opacity: 1; visibility: visible; transform: none; }
  .panel__n { font-size: 88px; }
  .row { grid-template-columns: 3.2em minmax(0, 1fr) auto; row-gap: 10px; }
  .row__d { grid-column: 2 / -1; grid-row: 2; }
  .post a { grid-template-columns: 3.2em minmax(0, 1fr) auto; row-gap: 10px; }
  .post__cat { grid-column: 2; grid-row: 1; }
  .post__src { grid-column: 3; grid-row: 1; justify-self: end; }
  .post__t { grid-column: 2 / -1; grid-row: 2; }
  .post__d { grid-column: 2 / -1; grid-row: 3; }
  .follow { grid-template-columns: 1fr 1fr; }
  .follow a:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .follow--3 a:nth-child(3) { grid-column: 1 / -1; }
  .legal__lang { grid-template-columns: 1fr; gap: 40px; }
  .legal__toc { position: static; max-height: none; overflow: visible; }
  .legal__tocT { pointer-events: auto; cursor: pointer; padding-block: 16px; border-block: 1px solid var(--line); font-size: 15px; color: var(--fg); }
  .legal__tocT::after { content: '+'; font: 300 22px/1 var(--f-mono); color: var(--mute); transition: rotate .4s var(--ease); }
  .legal__toc[open] .legal__tocT::after { rotate: 45deg; }
  .legal__toc ol { columns: 2; column-gap: 32px; }
  .legal__toc li { break-inside: avoid; }
}

/* Tablets (iPad upright, or any 641–920px screen): the 3D emblem stands above the
   words (mark.js / cta.js switch at the same width/aspect), so the words sit centred
   under it as one composition, instead of hugging one side beneath a centred emblem. */
@media (min-width: 641px) and (max-width: 920px), (min-width: 641px) and (max-aspect-ratio: 21/20) {
  .cta { min-height: 0; align-items: flex-end; }
  .cta__inner { padding-top: min(64vw, 500px); padding-bottom: clamp(104px, 12vh, 150px); text-align: center; }
  .cta__inner .label { justify-content: center; }
  .cta__title { max-width: 11em; margin-inline: auto; }
  .cta .lead { margin-inline: auto; }
  .cta__btns { justify-content: center; }
  .phero__body { text-align: center; }
  .phero__title { max-width: 11em; margin-inline: auto; }
  .phero__lead { margin-inline: auto; }
  .phero__foot { justify-content: center; }
}

@media (max-width: 640px) {
  :root { --nav-h: 64px; }
  .nav__open { height: 36px; padding-inline: 14px; font-size: 13px; }
  .hero { height: 230vh; }
  .hero__meta { font-size: 12px; }
  .hero__meta > span:first-child, .hero__coords { display: none; }
  .hero__meta { justify-content: flex-start; }
  .hero__intro { grid-template-columns: 1fr; gap: 18px; bottom: 26px; }
  .hero__title { font-size: clamp(40px, 11.4vw, 56px); line-height: 1.14; }
  .hero__lead { font-size: 15px; line-height: 1.8; }
  .hero__cta { margin-top: 20px; gap: 22px; }
  .hero__cue { display: none; }
  .hero__statement p { font-size: clamp(21px, 6vw, 28px); max-width: 13.5em; }
  .btn { height: 54px; padding-inline-start: 24px; font-size: 14px; }
  .btn__arr { width: 40px; height: 40px; }
  .band { height: 50px; }
  .band__note { display: none; }
  .index__row { grid-template-columns: 2.6em minmax(0, 1fr) 84px; row-gap: 10px; }
  .index__d { grid-column: 2 / -1; grid-row: 2; }
  .index__spark { width: 84px; height: 40px; grid-row: 1; grid-column: 3; }
  .sessions__list li { grid-template-columns: minmax(0, 1fr) auto; row-gap: 4px; }
  .s-state { grid-column: 1 / -1; text-align: start; padding-inline-start: 20px; font-size: 12px; }
  .s-hours { font-size: 12px; }
  .features { grid-template-columns: 1fr; }
  .terminal { border-radius: 12px; }
  .terminal__bar { padding-inline: 10px; height: 50px; }
  .tabs button { padding: 8px 7px; font-size: 11px; }
  .tabs button::after { inset-inline: 7px; }
  .terminal__body { height: 340px; }
  .terminal__foot div { padding: 12px 12px; }
  .cta__inner { padding-top: calc(100vw + 24px); padding-bottom: 88px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .wa { width: 48px; height: 48px; inset-inline-end: 16px; bottom: 16px; }
  .phero { padding-bottom: 48px; }
  .phero__title { font-size: clamp(42px, 12vw, 60px); line-height: 1.14; }
  .phero__lead { font-size: 15px; }
  .phero__meta > span:last-child { display: none; }
  .pillars--4 { grid-template-columns: 1fr; }
  .panel ul { grid-template-columns: 1fr; }
  .row__m { grid-column: 2 / -1; grid-row: 3; justify-self: start; }
  .row { grid-template-columns: 2.6em minmax(0, 1fr); }
  .row__d { grid-column: 2; }
  .form { grid-template-columns: 1fr; }
  .info li { grid-template-columns: 1fr; gap: 4px; }
  .map__card { inset-inline: 16px; bottom: 16px; max-width: none; }
  .map__attr { bottom: auto; top: 10px; }
  .follow { grid-template-columns: 1fr; }
  .follow a, .follow a + a { border-inline-start: 0; padding-inline: 0; gap: 20px; }
  .lhero { padding-top: calc(var(--nav-h) + 92px); padding-bottom: 52px; }
  .lhero__title { font-size: clamp(42px, 12vw, 60px); line-height: 1.12; }
  .lhero__lead { font-size: 15px; }
  .lhero__date { flex-basis: 100%; }
  .lhero__mark { width: 70vw; inset-inline-end: -18vw; top: 34%; }
  .legal__toc ol { columns: 1; }
  .doc__head { flex-direction: column; align-items: flex-start; }
  .doc__co { text-align: start; }
  .doc p, .doc li, .doc dd { font-size: 15px; line-height: 1.9; }
  .doc__defs div { grid-template-columns: 1fr; }
  .doc__cl > li { grid-template-columns: 2.9em minmax(0, 1fr); gap: 8px; }
}

/* ---------- print: the legal documents as clean letterhead pages ---------- */
@media print {
  @page { size: A4; margin: 20mm 16mm 18mm; }
  html, body { background: #fff !important; }
  body { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body::after, .nav, .menu, .wa, .footer, .lhero, .legal__toc { display: none !important; }
  .doc__note { margin-top: 14px; padding: 8px 12px; font-size: 10.5px; }
  .legal {
    --bg: #fff; --fg: #141415; --mute: #5d5a55; --line: rgba(20, 20, 21, .16); --accent: #0a7a3c;
    padding: 0 !important;
    background: #fff;
  }
  .legal__lang { display: block; max-width: none; padding: 0; }
  .doc { max-width: none; }
  .doc__head { padding-bottom: 16px; }
  .doc__logo { width: 150px; }
  .doc__title { display: block; margin: 22px 0 4px; }
  .doc__title h1 { font: 600 22px/1.35 var(--f-display); }
  .doc__title p { font-size: 11px; color: var(--mute); margin-top: 2px; }
  .doc h2 { margin: 22px 0 8px; font-size: 16px; font-weight: 600; break-after: avoid; page-break-after: avoid; }
  .doc h3 { margin: 14px 0 4px; font-size: 13px; break-after: avoid; }
  .doc p, .doc li, .doc dd, .doc dt { font-size: 11.5px; line-height: 1.75; }
  .doc p + p { margin-top: 8px; }
  .doc__cl > li { padding: 6px 0; grid-template-columns: 3em minmax(0, 1fr); }
  .doc__cl > li > span { font-size: 10.5px; line-height: 2.1; }
  .doc__cl > li, .doc__defs div, .doc__list li { break-inside: avoid; page-break-inside: avoid; }
  .doc__defs div { padding: 8px 0; }
  .doc a { text-decoration: none; color: inherit; }
  html.js .rv, html.js .split .w > span { opacity: 1 !important; transform: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  html.js .rv, html.js .split .w > span { transition-duration: .01ms; }
  .band__track { animation-duration: 240s; }
}
