/* MERAKAN official site, mobile-first (mobile-v1). Static HTML and CSS only: no scripts, no external requests; every animation is CSS.
   Written for a phone first (320px and up); wider screens are added with min-width queries at 600, 769 and 1041px.
   Palette set by MESHAL: #0F4F58, #0A4450, #A5A3A2, #12110F, #060606; mustard #B3861A (pressed) with #D9A521 / #F0C75E as sparing accents.
   Part of this file (the 3D mark layers) is generated by build/build.py; edit build/site.base.css, not static/css/site.css. */

@font-face { font-family: "Plex Arabic"; src: url("../fonts/ibm-plex-sans-arabic-arabic-400-normal.6010e7fd0d.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Plex Arabic"; src: url("../fonts/ibm-plex-sans-arabic-arabic-500-normal.90aef64fea.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Plex Arabic"; src: url("../fonts/ibm-plex-sans-arabic-arabic-700-normal.04c730b429.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Plex Arabic"; src: url("../fonts/ibm-plex-sans-arabic-latin-400-normal.9ed8dcb02e.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Plex Arabic"; src: url("../fonts/ibm-plex-sans-arabic-latin-500-normal.be6a3b2e37.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Plex Arabic"; src: url("../fonts/ibm-plex-sans-arabic-latin-700-normal.ae2d59f91e.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-latin-500-normal.5613e2fc83.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-latin-600-normal.05c91a26d1.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }

:root {
  --teal: #0F4F58; --teal-edge: #0A4450; --silver: #A5A3A2; --warm: #12110F; --deep: #060606;
  --gold: #B3861A; --gold-bright: #D9A521; --gold-light: #F0C75E; --gold-ink: #7A5A0A;
  --paper: #F8F7F4; --paper-2: #EFEDE9; --mist: #EAF1F2; --mist-line: #D3E0E2; --card: #FFFFFF; --line: #DDDAD5;
  --ink: #12110F; --ink-2: #3D3B38; --muted: #5C5A56;
  --teal-light: #81C6CF; --on-dark: #F2F2F1; --on-dark-2: #C4C2C1;
  --font: "Plex Arabic", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --display: "Newsreader", Georgia, "Times New Roman", serif;
  --wrap: 1200px; --gutter: 18px; --bar: 64px; --dz: 1px;
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--deep); scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--deep); color: var(--ink); font: 400 1rem/1.75 var(--font); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: clip; -webkit-tap-highlight-color: rgba(217, 165, 33, .25); }
[lang="ar"] body, [lang="ar"] { line-height: 1.9; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { color: var(--teal-edge); }
:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 500; text-wrap: balance; color: var(--ink); overflow-wrap: break-word; }
h1, h2 { font-family: var(--display); letter-spacing: -.016em; line-height: 1.12; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.6vw, 3.1rem); }
h3 { font-size: 1.125rem; line-height: 1.4; font-weight: 700; }
[lang="ar"] h1, [lang="ar"] h2 { font-family: var(--font); font-weight: 700; letter-spacing: 0; line-height: 1.4; }
[lang="ar"] h2 { font-size: clamp(1.6rem, 1.1rem + 2.3vw, 2.7rem); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
address { font-style: normal; }
bdi, .ltr { unicode-bidi: isolate; }
.ltr { direction: ltr; display: inline-block; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -64px; z-index: 100; padding: 12px 16px; background: var(--gold-bright); color: var(--warm); font-weight: 700; text-decoration: none; }
.skip:focus { top: 10px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left), env(safe-area-inset-right)); }
.ico { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.eyebrow { display: flex; width: fit-content; max-width: 100%; align-items: center; gap: 12px; font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); flex-shrink: 0; }
[lang="ar"] .eyebrow { letter-spacing: 0; text-transform: none; font-size: .95rem; }
.dark .eyebrow, .band-dark .eyebrow { color: var(--gold-light); }
.phero .eyebrow { color: #F7DD91; }
.dark .eyebrow::before, .phero .eyebrow::before, .band-dark .eyebrow::before { background: var(--gold-bright); }

/* ---------- buttons: 52px high, full width on a phone ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 52px; padding: 12px 26px; border-radius: 999px; font: 700 1rem/1.3 var(--font); text-align: center; text-decoration: none; border: 1.5px solid transparent; transition: background-color .2s, border-color .2s, color .2s, transform .2s; }
.btn .ico { width: 18px; height: 18px; }
[dir="rtl"] .btn .ico.go, [dir="rtl"] .more .ico { transform: scaleX(-1); }
.btn-gold { background: var(--gold-bright); color: var(--warm); }
.btn-ghost { border-color: rgba(165, 163, 162, .6); color: var(--on-dark); background: rgba(6, 6, 6, .25); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-silver { background: linear-gradient(180deg, #E6E7E7, #A5A3A2); color: var(--warm); box-shadow: 0 10px 24px -10px rgba(15, 79, 88, .6), inset 0 1px 0 rgba(255, 255, 255, .7); }
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .btn-gold:hover { background: var(--gold-light); color: var(--warm); }
  .btn-ghost:hover { border-color: var(--on-dark); color: #fff; background: rgba(6, 6, 6, .5); }
  .btn-teal:hover { background: var(--teal-edge); color: #fff; }
  .btn-silver:hover { background: linear-gradient(180deg, #F3F4F4, #B9B8B7); color: var(--warm); }
}
.more { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; font-weight: 700; color: var(--teal); text-decoration: none; }
.more span { border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.more .ico { width: 18px; height: 18px; }

/* ---------- header: wordmark and a hamburger on a phone, the four links beside the wordmark from 769px ---------- */
.site-header { position: sticky; top: 0; z-index: 60; padding-top: env(safe-area-inset-top); background: rgba(6, 6, 6, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(165, 163, 162, .2); }
.bar { display: flex; align-items: center; gap: 12px; min-height: var(--bar); }
.brand { display: flex; align-items: center; gap: 10px; min-height: 48px; min-width: 0; text-decoration: none; color: var(--on-dark); flex-shrink: 0; }
.brand svg { width: 38px; height: auto; }
.brand .word { font: 500 1rem/1 var(--font); letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark); direction: ltr; }
.nav, .bar > .lang { display: none; }
.menu { display: block; margin-inline-start: auto; flex-shrink: 0; }
.menu summary { list-style: none; display: grid; place-items: center; width: 48px; height: 48px; cursor: pointer; border: 1px solid rgba(165, 163, 162, .45); border-radius: 50%; color: var(--on-dark); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary .ico { grid-area: 1 / 1; }
.menu summary .ico-x, .menu[open] summary .ico-bars { display: none; }
.menu[open] summary .ico-x { display: block; }
.menu[open] summary { background: rgba(255, 255, 255, .08); border-color: var(--on-dark); }
.menu-panel { position: absolute; inset-inline: 0; top: 100%; display: grid; gap: 2px; max-height: calc(100vh - var(--bar) - 8px); overflow-y: auto; padding: 8px max(var(--gutter), env(safe-area-inset-left), env(safe-area-inset-right)) 14px; background: var(--deep); border-bottom: 1px solid rgba(165, 163, 162, .3); border-radius: 0 0 24px 24px; box-shadow: 0 24px 40px -10px rgba(0, 0, 0, .6); animation: menu-in .2s ease-out both; }
@supports (height: 100dvh) { .menu-panel { max-height: calc(100dvh - var(--bar) - 8px); } }
.menu-panel a { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 16px; color: var(--on-dark); text-decoration: none; font-weight: 500; font-size: 1.05rem; border-radius: 14px; }
.menu-panel a[aria-current="page"] { background: rgba(255, 255, 255, .07); color: var(--gold-bright); }
.menu-panel .lang { margin-top: 6px; padding-top: 14px; border-top: 1px solid rgba(165, 163, 162, .2); border-radius: 0; color: var(--on-dark-2); }
.menu-panel .menu-login { margin-top: 10px; min-height: 52px; padding: 12px 26px; border-radius: 999px; color: var(--warm); font-size: 1rem; justify-content: center; }
.menu-panel .menu-login[aria-current] { color: var(--warm); }
.lang .ico { width: 18px; height: 18px; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- hero (home) and page hero (inner pages) with the animated background ---------- */
.hero, .phero { position: relative; isolation: isolate; overflow: hidden; background: var(--deep); color: var(--on-dark); }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: radial-gradient(130% 80% at 78% 30%, #0F4F58 0%, #0A4450 34%, #062A31 62%, #060606 100%); }
[dir="rtl"] .hero-bg { background: radial-gradient(130% 80% at 22% 30%, #0F4F58 0%, #0A4450 34%, #062A31 62%, #060606 100%); }
.bg-glow { position: absolute; width: 90vmax; height: 90vmax; border-radius: 50%; background: radial-gradient(closest-side, rgba(129, 198, 207, .20), rgba(129, 198, 207, 0)); }
.bg-glow.a { inset-block-start: -45vmax; inset-inline-end: -30vmax; animation: drift-a 26s ease-in-out infinite alternate; }
.bg-glow.b { inset-block-end: -50vmax; inset-inline-start: -35vmax; background: radial-gradient(closest-side, rgba(165, 163, 162, .12), rgba(165, 163, 162, 0)); animation: drift-b 32s ease-in-out infinite alternate; }
.bg-floor { position: absolute; inset-inline: -20%; inset-block-end: -4%; height: 52%; perspective: 520px; -webkit-mask-image: linear-gradient(to top, #000 15%, transparent 92%); mask-image: linear-gradient(to top, #000 15%, transparent 92%); }
.bg-floor i { position: absolute; inset: -60% -10% 0; transform-origin: 50% 100%; transform: rotateX(66deg);
  background-image: linear-gradient(rgba(129, 198, 207, .5) 1.5px, transparent 1.5px), linear-gradient(90deg, rgba(129, 198, 207, .5) 1.5px, transparent 1.5px);
  background-size: 48px 48px; animation: floor 5.5s linear infinite; }
.bg-beam, .bg-lines { display: none; }
.bg-dots { position: absolute; inset: 0; }
.bg-dots span { position: absolute; top: 100%; width: 4px; height: 4px; border-radius: 50%; background: var(--teal-light); box-shadow: 0 0 10px 2px rgba(129, 198, 207, .55); opacity: 0; animation: rise 14s linear infinite; }
.bg-dots span:nth-child(3n) { width: 3px; height: 3px; background: #fff; box-shadow: 0 0 8px 1px rgba(255, 255, 255, .4); }
.bg-dots span:nth-child(7n) { background: var(--gold-bright); box-shadow: 0 0 12px 2px rgba(217, 165, 33, .5); }
.bg-dots span:nth-child(1) { left: 6%; animation-delay: -1s; animation-duration: 15s; }
.bg-dots span:nth-child(2) { left: 14%; animation-delay: -7s; animation-duration: 12s; }
.bg-dots span:nth-child(3) { left: 22%; animation-delay: -3s; animation-duration: 17s; }
.bg-dots span:nth-child(4) { left: 31%; animation-delay: -10s; animation-duration: 13s; }
.bg-dots span:nth-child(5) { left: 39%; animation-delay: -5s; animation-duration: 16s; }
.bg-dots span:nth-child(6) { left: 47%; animation-delay: -12s; animation-duration: 14s; }
.bg-dots span:nth-child(7) { left: 55%; animation-delay: -2s; animation-duration: 18s; }
.bg-dots span:nth-child(8) { left: 62%; animation-delay: -8s; animation-duration: 12s; }
.bg-dots span:nth-child(9) { left: 69%; animation-delay: -4s; animation-duration: 15s; }
.bg-dots span:nth-child(10) { left: 76%; animation-delay: -11s; animation-duration: 17s; }
.bg-dots span:nth-child(11) { left: 83%; animation-delay: -6s; animation-duration: 13s; }
.bg-dots span:nth-child(12) { left: 90%; animation-delay: -9s; animation-duration: 16s; }
.bg-dots span:nth-child(13) { left: 96%; animation-delay: -13s; animation-duration: 14s; }
.bg-dots span:nth-child(14) { left: 26%; animation-delay: -14s; animation-duration: 19s; }
.bg-dots span:nth-child(15) { left: 58%; animation-delay: -16s; animation-duration: 20s; }
.bg-dots span:nth-child(16) { left: 73%; animation-delay: -18s; animation-duration: 18s; }
.bg-dots span:nth-child(n+9) { display: none; }
@keyframes drift-a { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-9vmax, 8vmax, 0) scale(1.12); } }
@keyframes drift-b { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(12vmax, -7vmax, 0) scale(1.1); } }
@keyframes floor { from { background-position: 0 0; } to { background-position: 0 48px; } }
@keyframes beam { 0%, 8% { inset-inline-start: -40%; } 60%, 100% { inset-inline-start: 120%; } }
@keyframes lines { from { background-position: 0 0; } to { background-position: 240px 0; } }
@keyframes rise { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: .9; } 80% { opacity: .7; } 100% { transform: translateY(-70vh); opacity: 0; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.hero-main { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 0; padding-block: 36px 92px; }
.hero h1 { font-size: clamp(2.15rem, 1.2rem + 4.6vw, 5rem); color: #fff; animation: fade-up .9s .1s both; }
[lang="ar"] .hero h1 { font-size: clamp(1.95rem, 1.1rem + 4vw, 4.1rem); line-height: 1.4; }
.hero h1 .accent { display: block; color: var(--gold-bright); }
.hero .lead { margin-top: 18px; max-width: 34em; font-size: 1.06rem; color: #EDECEB; animation: fade-up .9s .3s both; }
.actions { display: grid; gap: 12px; margin-top: 26px; animation: fade-up .9s .5s both; }

.phero .wrap { padding-block: 40px 84px; }
.phero h1 { font-size: clamp(2.05rem, 1.2rem + 4vw, 4.2rem); color: #fff; animation: fade-up .9s .1s both; }
[lang="ar"] .phero h1 { font-size: clamp(1.9rem, 1.1rem + 3.6vw, 3.6rem); }
.phero .lead { margin-top: 16px; max-width: 38em; font-size: 1.06rem; color: #EDECEB; animation: fade-up .9s .25s both; }
.phero .actions { margin-top: 24px; }

/* the 3D mark: the traced logo extruded in layers, turning slowly on a glowing plate */
.stage { position: relative; display: grid; place-items: center; min-height: 250px; margin-top: 14px; animation: fade-up 1.1s .2s both; }
.persp { width: min(80%, 340px); perspective: 1100px; position: relative; z-index: 1; margin-bottom: 40px; }
.mark3d { position: relative; width: 100%; aspect-ratio: 252 / 148; transform-style: preserve-3d; animation: turn 16s ease-in-out infinite alternate, hover 7s ease-in-out infinite; }
.mark3d .ml { position: absolute; inset: 0; width: 100%; height: 100%; }
.mark3d .s use { fill: inherit; }
.mark3d .front { filter: drop-shadow(0 0 22px rgba(129, 198, 207, .28)); }
.sheen { animation: sheen 7s ease-in-out infinite; }
@keyframes turn { from { transform: rotateX(7deg) rotateY(-30deg); } to { transform: rotateX(3deg) rotateY(22deg); } }
@keyframes hover { 0%, 100% { translate: 0 -6px; } 50% { translate: 0 8px; } }
@keyframes sheen { 0%, 25% { transform: translateX(-150px); } 70%, 100% { transform: translateX(380px); } }
.plate { position: absolute; inset-inline: 0; inset-block-end: 4%; aspect-ratio: 1.55 / 1; transform: perspective(900px) rotateX(66deg); border-radius: 26px;
  border: 2px solid rgba(129, 198, 207, .65); background: radial-gradient(closest-side, rgba(129, 198, 207, .32), rgba(15, 79, 88, .14) 70%, transparent), radial-gradient(circle, rgba(129, 198, 207, .75) 1.4px, transparent 2px) 0 0 / 20px 20px;
  box-shadow: 0 0 50px rgba(129, 198, 207, .34), inset 0 0 40px rgba(129, 198, 207, .22); animation: plate-glow 6s ease-in-out infinite alternate, plate-dots 9s linear infinite; }
.plate::before { content: ""; position: absolute; inset: 7%; border-radius: 18px; border: 1px solid rgba(129, 198, 207, .45); }
.plate i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px 3px rgba(129, 198, 207, .85); animation: node 3.4s ease-in-out infinite; }
.plate i:nth-child(1) { left: 14%; top: 22%; } .plate i:nth-child(2) { left: 30%; top: 70%; animation-delay: -.8s; } .plate i:nth-child(3) { left: 48%; top: 14%; animation-delay: -1.6s; }
.plate i:nth-child(4) { left: 66%; top: 62%; animation-delay: -2.4s; } .plate i:nth-child(5) { left: 82%; top: 28%; animation-delay: -1.1s; background: var(--gold-light); box-shadow: 0 0 12px 3px rgba(240, 199, 94, .6); }
.plate i:nth-child(6) { left: 90%; top: 74%; animation-delay: -2s; } .plate i:nth-child(7) { left: 8%; top: 56%; animation-delay: -2.9s; }
@keyframes plate-glow { from { box-shadow: 0 0 40px rgba(129, 198, 207, .24), inset 0 0 34px rgba(129, 198, 207, .16); } to { box-shadow: 0 0 76px rgba(129, 198, 207, .46), inset 0 0 54px rgba(129, 198, 207, .3); } }
@keyframes plate-dots { to { background-position: 0 0, 20px 20px; } }
@keyframes node { 0%, 100% { opacity: .25; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.15); } }

/* ---------- white content area, rounded at the top, rising over the hero ---------- */
.content { position: relative; z-index: 2; margin-top: -40px; background: var(--paper); border-radius: 28px 28px 0 0; padding-block: 48px 64px; }
.content > .wrap > section + section { margin-top: 56px; }
.title { text-align: center; margin-bottom: 28px; }
.title .eyebrow { margin-inline: auto; }
.title h2::after { content: ""; display: block; width: 52px; height: 3px; margin: 16px auto 0; background: linear-gradient(90deg, var(--teal), var(--teal-light)); border-radius: 3px; }
.title .sub { margin: 14px auto 0; max-width: 36em; color: var(--ink-2); }
.band-dark .title h2, .band-dark h3 { color: #fff; }
.band-dark .title .sub { color: var(--on-dark-2); }

/* ---------- product card (home) ---------- */
.pcard { position: relative; width: min(100%, 460px); margin-inline: auto; padding: 32px 22px 28px; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: 26px;
  box-shadow: 0 24px 60px -28px rgba(15, 79, 88, .45), 0 2px 6px rgba(18, 17, 15, .06); }
.pcard svg.pm { width: 120px; margin: 0 auto 8px; filter: drop-shadow(0 8px 14px rgba(18, 17, 15, .25)); animation: hover 7s ease-in-out infinite; }
.pcard .pw { display: block; font: 500 .85rem/1 var(--font); letter-spacing: .5em; padding-inline-start: .5em; text-transform: uppercase; color: var(--muted); direction: ltr; margin-bottom: 20px; }
.pcard h3 { font-family: var(--display); font-size: 1.8rem; line-height: 1.15; font-weight: 500; }
[lang="ar"] .pcard h3 { font-family: var(--font); font-weight: 700; }
.pcard .desc { margin-top: 12px; color: var(--ink-2); }
.pcard .meta { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: .94rem; line-height: 1.8; }
.pcard .btn { margin-top: 22px; }

/* ---------- dark band: values, review-before-saving, fundamentals ---------- */
.band-dark { position: relative; isolation: isolate; overflow: hidden; padding: 40px 20px 36px; border-radius: 26px; background: #08343B; color: var(--on-dark); }
.band-dark::before { content: ""; position: absolute; inset: -30%; z-index: -1; background: radial-gradient(40% 40% at 25% 35%, rgba(15, 79, 88, .95), transparent 70%), radial-gradient(38% 38% at 75% 65%, rgba(129, 198, 207, .16), transparent 70%), radial-gradient(30% 30% at 55% 15%, rgba(165, 163, 162, .08), transparent 70%); animation: mesh 24s ease-in-out infinite alternate; }
.band-dark::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(165, 163, 162, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(165, 163, 162, .06) 1px, transparent 1px); background-size: 48px 48px; }
@keyframes mesh { from { transform: translate3d(-4%, -3%, 0) scale(1); } to { transform: translate3d(5%, 4%, 0) scale(1.1); } }
.values { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.values li { text-align: center; }
.values .ico { width: 40px; height: 40px; margin: 0 auto 14px; color: var(--teal-light); stroke-width: 1.3; }
.values h3 { font-size: 1.08rem; }
.values p { margin-top: 8px; color: var(--on-dark-2); font-size: .97rem; line-height: 1.7; }
.band-dark .more { color: var(--teal-light); }
.band-dark .more span { border-color: var(--gold-bright); }

/* ---------- text blocks ---------- */
.about { max-width: 52rem; margin-inline: auto; }
.about h2 { font-size: clamp(1.7rem, 1.1rem + 2.4vw, 2.8rem); }
.about p { margin-top: 16px; color: var(--ink-2); font-size: 1.06rem; }
.about .btn { margin-top: 24px; }
.prose { max-width: 46rem; margin-inline: auto; }
.prose p { margin-top: 16px; color: var(--ink-2); font-size: 1.06rem; }
.prose p:first-child { margin-top: 0; }
.prose .big { font-size: 1.2rem; color: var(--ink); font-weight: 500; line-height: 1.7; }
.prose p.statement { margin-top: 28px; padding: 22px 0 4px; border-top: 3px solid var(--gold-bright); font: 500 clamp(1.6rem, 1.1rem + 2.6vw, 2.6rem)/1.15 var(--display); color: var(--teal); letter-spacing: -.015em; }
[lang="ar"] .prose p.statement { font-family: var(--font); font-weight: 700; line-height: 1.5; letter-spacing: 0; }
.cta { text-align: center; max-width: 40rem; margin-inline: auto; padding: 34px 20px; background: var(--mist); border: 1px solid var(--mist-line); border-radius: 26px; }
.cta p { margin-top: 10px; color: var(--ink-2); }
.cta .btn { margin-top: 20px; }

/* ---------- product page: steps and pricing ---------- */
.steps { display: grid; gap: 12px; counter-reset: step; }
.steps li { position: relative; padding: 18px 18px 18px 18px; padding-inline-start: 68px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; inset-inline-start: 16px; top: 16px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--teal); color: #fff; font: 700 1.05rem/1 var(--font); }
.steps p { margin-top: 4px; color: var(--ink-2); font-size: .98rem; line-height: 1.7; }
.note { margin-top: 18px; text-align: center; color: var(--muted); font-size: .96rem; }
.plans { display: grid; gap: 16px; }
.plan { padding: 26px 20px 22px; background: var(--card); border: 1px solid var(--line); border-radius: 26px; }
.plan .tag { font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
[lang="ar"] .plan .tag { letter-spacing: 0; text-transform: none; font-size: .92rem; }
.plan h3 { margin-top: 4px; font-size: 1.25rem; }
.plan .price { display: flex; align-items: baseline; gap: 10px; margin-block: 14px 8px; }
.plan .num { font: 500 3.4rem/1 var(--display); color: var(--teal); letter-spacing: -.02em; }
.plan .per { color: var(--muted); font-weight: 500; }
.plan .lead-s { color: var(--ink-2); font-size: .97rem; }
.plan.featured { background: var(--teal); border-color: var(--teal); color: var(--on-dark); }
.plan.featured .tag { color: var(--gold-light); }
.plan.featured h3, .plan.featured .num { color: #fff; }
.plan.featured .per, .plan.featured .lead-s { color: var(--on-dark-2); }
.facts { margin-top: 16px; border-top: 1px solid var(--line); }
.facts > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: .95rem; }
.facts dd { font-weight: 700; color: var(--ink); text-align: end; }
.plan.featured .facts, .plan.featured .facts > div { border-color: rgba(242, 242, 241, .24); }
.plan.featured .facts dt { color: var(--on-dark-2); }
.plan.featured .facts dd { color: #fff; }
.addons { margin-top: 36px; }
.addons h3 { font-size: 1.3rem; text-align: center; }
.addons .sub { margin-top: 6px; text-align: center; color: var(--ink-2); }
.packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.pack { padding: 16px 6px 14px; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: 20px; }
.pack .n { display: block; font: 500 1.9rem/1 var(--display); color: var(--ink); }
.pack .u { display: block; margin-top: 4px; font-size: .8rem; font-weight: 700; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
[lang="ar"] .pack .u { letter-spacing: 0; text-transform: none; font-size: .9rem; }
.pack .p { display: block; margin-top: 10px; font: 700 1.3rem/1 var(--font); color: var(--teal); }
.pack .l { display: block; margin-top: 6px; font-size: .8rem; color: var(--muted); line-height: 1.4; }
.small-notes { margin-top: 18px; display: grid; gap: 8px; color: var(--ink-2); font-size: .96rem; }
.unit-box { margin-top: 24px; padding: 20px; background: var(--mist); border-radius: 20px; color: var(--ink-2); }
.unit-box strong { color: var(--ink); }
.billing { margin-top: 22px; text-align: center; color: var(--ink-2); }

/* ---------- contact page ---------- */
.ccards { display: grid; gap: 14px; }
.ccard { display: block; padding: 22px 20px; background: var(--card); border: 1px solid var(--line); border-radius: 26px; text-decoration: none; color: var(--ink); }
.ccard h3 { font-size: 1.2rem; }
.ccard p { margin-top: 4px; color: var(--ink-2); font-size: .97rem; }
.ccard .mail { display: flex; align-items: center; gap: 12px; min-height: 52px; margin-top: 14px; padding: 10px 18px; background: var(--teal); color: #fff; border-radius: 999px; font-weight: 700; overflow-wrap: anywhere; direction: ltr; text-decoration: none; }
.ccard .mail .ico { width: 20px; height: 20px; }
.ccard address { margin-top: 10px; color: var(--ink); line-height: 1.8; }
.ccard address .name { display: block; font-weight: 700; }
.ccard .more { margin-top: 8px; }
@media (hover: hover) { .ccard .mail:hover { background: var(--teal-edge); color: #fff; } }

/* ---------- about page: company details ---------- */
.details { padding: 8px 20px 4px; background: var(--card); border: 1px solid var(--line); border-radius: 26px; }
.details .facts { margin-top: 0; border-top: 0; }
.details .facts > div:last-child { border-bottom: 0; }
.details a { display: inline-flex; align-items: center; min-height: 44px; }
.pcard-wide { width: 100%; max-width: 640px; text-align: start; }

/* ---------- footer: the light strip band (paper) above the dark footer card ---------- */
.site-footer { background: var(--paper); }
.foot-trust { background: var(--paper); padding-block: 8px 40px; }
@media (hover: hover) {
}

/* ---------- 404 ---------- */
.nf { padding-block: 56px 72px; background: var(--paper); text-align: center; }
.nf h1 { font-size: clamp(2rem, 1.2rem + 4vw, 3.4rem); }
.nf p { margin: 14px auto 0; max-width: 32em; color: var(--ink-2); }
.nf .btn { width: auto; margin-top: 24px; }
.nf .ar-block { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }

/* =====================================================================================================
   Larger screens. Mobile-first: everything above is the phone layout; each query below only adds.
   ===================================================================================================== */
@media (min-width: 600px) {
  :root { --gutter: 28px; --dz: 1.3px; }
  .btn { width: auto; min-width: 220px; }
  .actions { display: flex; flex-wrap: wrap; }
  .hero-main { padding-block: 48px 108px; }
  .stage { min-height: 320px; }
  .persp { width: min(70%, 420px); margin-bottom: 52px; }
  .content { margin-top: -48px; border-radius: 36px 36px 0 0; padding-block: 64px 80px; }
  .content > .wrap > section + section { margin-top: 72px; }
  .title { margin-bottom: 36px; }
  .pcard { padding: 38px 32px 32px; }
  .band-dark { padding: 52px 32px 46px; border-radius: 30px; }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ccards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ccards .wide { grid-column: 1 / -1; }
  .pack { padding: 22px 10px 18px; }
}

@media (min-width: 769px) {
  :root { --gutter: 32px; --bar: 76px; --dz: 1.6px; }
  html { scroll-padding-top: 96px; }
  .bar { gap: 10px; }
  .brand { gap: 10px; }
  .brand svg { width: 44px; }
  .brand .word { font-size: 1.05rem; letter-spacing: .2em; }
  .menu { display: none; }
  .nav { display: flex; align-items: center; gap: 0; margin-inline-start: 6px; }
  .nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 8px 9px; color: var(--on-dark-2); text-decoration: none; font-weight: 500; font-size: .88rem; white-space: nowrap; border-radius: 999px; transition: color .2s, background-color .2s; }
  .nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
  .nav a[aria-current="page"] { color: var(--gold-bright); }
  .nav a[aria-current="page"]::after { content: ""; position: absolute; inset-inline: 9px; bottom: 3px; height: 2px; background: var(--gold-bright); border-radius: 2px; }
  .bar > .lang { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-inline-start: auto; padding: 7px 12px; border: 1px solid rgba(165, 163, 162, .45); border-radius: 999px; color: var(--on-dark); text-decoration: none; font-weight: 500; font-size: .88rem; transition: background-color .2s; }
  .bar > .lang:hover { background: rgba(255, 255, 255, .08); color: #fff; }
  .bg-beam { display: block; position: absolute; inset-block: -20%; width: 34%; inset-inline-start: -40%; background: linear-gradient(100deg, transparent, rgba(240, 199, 94, .055) 45%, rgba(255, 255, 255, .07) 52%, transparent); transform: skewX(-18deg); animation: beam 16s ease-in-out infinite; }
  .bg-lines { display: block; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(165, 163, 162, .05) 0 1px, transparent 1px 120px); animation: lines 40s linear infinite; }
  .bg-dots span:nth-child(n+9) { display: block; }
  .bg-floor i { background-size: 64px 64px; animation-name: floor-lg; }
  @keyframes floor-lg { from { background-position: 0 0; } to { background-position: 0 64px; } }
  .hero-main { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 24px; min-height: 560px; padding-block: 40px 124px; }
  .stage { order: 0; margin-top: 0; min-height: 440px; }
  .persp { width: min(100%, 520px); margin-bottom: 64px; }
  .plate { border-radius: 40px; background-size: auto, 26px 26px; }
  .phero .wrap { padding-block: 64px 112px; }
  .hero .lead, .phero .lead { font-size: 1.15rem; }
  .content { margin-top: -56px; border-radius: 44px 44px 0 0; padding-block: 80px 96px; }
  .content > .wrap > section + section { margin-top: 88px; }
  .title { margin-bottom: 44px; }
  .values { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps li { padding: 72px 18px 20px; }
  .steps li::before { inset-inline-start: 18px; top: 18px; }
  .pack .n { font-size: 2.3rem; }
}

@media (min-width: 1041px) {
  :root { --gutter: 40px; --dz: 1.7px; }
  .bar { gap: 36px; }
  .brand { gap: 14px; }
  .brand svg { width: 52px; }
  .brand .word { font-size: 1.3rem; letter-spacing: .32em; }
  .nav { margin-inline-start: 28px; gap: 6px; }
  .nav a { padding: 10px 18px; font-size: .98rem; }
  .nav a[aria-current="page"]::after { inset-inline: 18px; }
  .bar > .lang { padding: 8px 16px; font-size: .98rem; }
  .hero-main { min-height: clamp(560px, 74vh, 700px); padding-block: 32px 132px; }
  .stage { min-height: 520px; }
  .persp { width: min(100%, 600px); margin-bottom: 70px; }
  .hero h1 { font-size: clamp(3.6rem, 5.2vw, 5rem); }
  [lang="ar"] .hero h1 { font-size: clamp(3rem, 4.4vw, 4.1rem); }
  .content { padding-block: 88px 104px; }
  .values { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
  .values li { padding: 8px 14px; }
  .band-dark { padding: 72px 48px 64px; border-radius: 32px; }
  .pcard { padding: 42px 38px 38px; }
  .plans { gap: 24px; }
  .plan { padding: 34px 32px 28px; }
  .ccards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ccards .wide { grid-column: auto; }
}

/* ---------- footer (v11): light strip band, then a full-width dark teal footer: tagline (no logo), company info + four link columns (Company | Help | Products | Legal), hairline, copyright ---------- */
.foot-main { background: #08343B; color: var(--on-dark-2); padding-block: 40px max(28px, env(safe-area-inset-bottom)); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.foot-info { font-style: normal; color: var(--on-dark-2); line-height: 1.8; }
.foot-info .name { display: block; color: #fff; font-weight: 700; font-size: 1.05rem; }
.foot-info .legal-form { display: block; margin-bottom: 8px; }
.kv { display: block; }
.kv .k { color: inherit; }
.ccard address .legal-form { display: block; margin-bottom: 6px; }
.foot-info .kv-mail { display: flex; flex-wrap: wrap; align-items: center; column-gap: 8px; min-height: 44px; }
.foot-info .mail { display: inline-flex; align-items: center; min-height: 44px; color: var(--teal-light); text-decoration: none; overflow-wrap: anywhere; }
.foot-col { display: none; }
.foot-col h2, .acc summary { font-family: var(--font); font-size: .95rem; font-weight: 700; letter-spacing: 0; color: var(--gold-light); line-height: 1.4; }
html:not([lang="ar"]) .foot-col h2 { letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; }
.foot-col h2 { display: flex; align-items: center; min-height: 44px; margin-bottom: 0; }
.foot-col h2 a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.foot-col ul, .acc ul { margin: 0; padding: 0; list-style: none; }
.foot-col ul a, .acc ul a { display: flex; align-items: center; min-height: 44px; color: var(--on-dark-2); text-decoration: none; line-height: 1.4; }
.legal-col ul a, .acc.legal ul a { color: var(--teal-light); }
.foot-acc { border-top: 1px solid rgba(165, 163, 162, .25); }
.acc { border-bottom: 1px solid rgba(165, 163, 162, .25); }
.acc summary { list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 52px; cursor: pointer; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; width: 9px; height: 9px; border-bottom: 2px solid currentColor; border-inline-end: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.acc[open] summary::after { transform: rotate(-135deg); }
.acc ul { padding-bottom: 10px; }
.foot-bottom { margin-top: 20px; color: var(--silver); font-size: .9rem; }
@media (hover: hover) { .foot-col ul a:hover, .acc ul a:hover, .foot-info .mail:hover { color: #fff; text-decoration: underline; } .foot-col h2 a:hover { text-decoration: underline; } }
@media (min-width: 769px) {
  .foot-main { padding-block: 52px max(32px, env(safe-area-inset-bottom)); }
  .foot-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 28px; }
  .foot-info { grid-column: 1 / -1; }
  .foot-col { display: block; }
  .foot-acc { display: none; }
  .foot-bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(165, 163, 162, .25); }
}
@media (min-width: 1041px) {
  .foot-main { padding-block: 64px max(36px, env(safe-area-inset-bottom)); }
  .foot-grid { grid-template-columns: minmax(0, 1.8fr) repeat(4, minmax(0, 1fr)); gap: 40px; }
  .foot-info { grid-column: auto; }
}

/* ---------- legal documents (footer only): index cards, document switcher, contents, long-form text ---------- */
.tr-notice { margin-top: 16px; max-width: 40em; padding: 12px 14px; border-inline-start: 3px solid var(--gold-bright); background: rgba(6, 6, 6, .35); color: #EDECEB; font-size: .95rem; line-height: 1.7; animation: fade-up .9s .35s both; }
.dcards { display: grid; gap: 12px; max-width: 46rem; margin-inline: auto; }
.dcard { position: relative; display: block; min-height: 88px; padding: 20px 64px 20px 20px; padding-inline: 20px 64px; background: var(--card); border: 1px solid var(--line); border-radius: 26px; color: var(--ink); text-decoration: none; }
.dcard h3 { font-size: 1.15rem; }
.dcard p { margin-top: 4px; color: var(--ink-2); font-size: .97rem; line-height: 1.65; }
.dcard .go { position: absolute; inset-inline-end: 18px; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--teal); color: #fff; }
.dcard .go .ico { width: 18px; height: 18px; }
@media (hover: hover) { .dcard:hover { border-color: var(--teal); } }
.docs-switch { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.docs-switch a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; line-height: 1.3; }
.docs-switch a[aria-current="page"] { background: var(--teal); border-color: var(--teal); color: #fff; }
.legal-layout { display: block; }
.toc { display: none; }
.toc-m { margin-bottom: 28px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; }
.toc-m summary { display: flex; align-items: center; min-height: 52px; padding: 12px 18px; cursor: pointer; font-weight: 700; list-style: none; }
.toc-m summary::-webkit-details-marker { display: none; }
.toc-m summary::after { content: "+"; margin-inline-start: auto; font-size: 1.4rem; line-height: 1; color: var(--teal); }
.toc-m[open] summary::after { content: "\2212"; }
.toc-m ol, .toc ol { display: grid; padding: 0 12px 12px; }
.toc-m ol a, .toc ol a { display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 6px 8px; color: var(--ink-2); text-decoration: none; line-height: 1.4; border-radius: 10px; }
.doc { max-width: 46rem; }
.doc .intro p { margin-top: 14px; color: var(--ink-2); }
.doc .intro p:first-child { margin-top: 0; }
.doc h2 { margin: 40px 0 0; font: 700 1.3rem/1.4 var(--font); letter-spacing: 0; color: var(--ink); scroll-margin-top: 90px; }
.doc .num { color: var(--gold-ink); margin-inline-end: 6px; }
.doc p { margin-top: 14px; color: var(--ink-2); overflow-wrap: break-word; }
.doc ul, .doc ol { margin-top: 14px; padding-inline-start: 1.4rem; }
.doc ul { list-style: disc; }
.doc ol { list-style: decimal; }
.doc li { margin-top: 8px; color: var(--ink-2); overflow-wrap: break-word; }
.doc strong { color: var(--ink); }
.doc a { color: var(--teal); overflow-wrap: anywhere; }
.doc .addr { padding: 14px 16px; background: var(--mist); border-radius: 14px; }
.table-wrap { margin-top: 16px; overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.table-wrap table { width: 100%; min-width: 34rem; border-collapse: collapse; }
.table-wrap th, .table-wrap td { padding: 10px 14px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--line); font-size: .95rem; line-height: 1.6; color: var(--ink-2); }
.table-wrap th { color: var(--ink); background: var(--mist); }
.table-wrap tr:last-child td { border-bottom: 0; }
@media (hover: hover) { .toc ol a:hover, .toc-m ol a:hover { background: var(--mist); color: var(--ink); } }
@media (min-width: 1041px) {
  .legal-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; }
  .toc { display: block; position: sticky; top: 100px; align-self: start; max-height: calc(100vh - 130px); overflow-y: auto; }
  .toc .toc-h { margin-bottom: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
  [lang="ar"] .toc .toc-h { letter-spacing: 0; text-transform: none; font-size: .95rem; }
  .toc ol { padding: 0; }
  .toc-m { display: none; }
  .doc h2 { font-size: 1.45rem; }
}

/* band variants with two or four items (product "You stay in control", about "What we stand on") */
.values.two, .values.four { gap: 28px 24px; }
.values.two p { margin-top: 0; }
@media (min-width: 600px) { .values.two { max-width: 52rem; margin-inline: auto; } }
@media (min-width: 769px) { .values.two, .values.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1041px) { .values.four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; } }

/* very narrow phones (320 to 360px): tighter gutters, slightly smaller wordmark */
@media (max-width: 360px) {
  :root { --gutter: 14px; }
  .brand .word { font-size: .92rem; letter-spacing: .16em; }
  .brand svg { width: 34px; }
  .pcard { padding: 28px 16px 24px; }
  .band-dark { padding: 34px 16px 30px; }
  .plan { padding: 22px 16px 18px; }
  .steps li { padding-inline-start: 62px; }
  .ccard { padding: 20px 16px; }
}

/* ---------- v3 polish: header and hero (decoration only; palette unchanged) ---------- */
.site-header::after { content: ""; position: absolute; inset-inline: 0; bottom: -1px; height: 1px; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(217, 165, 33, .6) 22%, rgba(129, 198, 207, .5) 50%, rgba(217, 165, 33, .6) 78%, transparent); }
.brand svg { transition: transform .35s ease; }
.menu[open] summary { border-color: var(--gold-bright); }
.menu[open] summary .ico-x { animation: spin-in .3s ease-out both; }
.menu-panel a:not(.lang):not(.btn)::after { content: ""; flex-shrink: 0; margin-inline-start: auto; width: 8px; height: 8px; border-top: 2px solid currentColor; border-inline-end: 2px solid currentColor; transform: rotate(45deg); opacity: .55; }
[dir="rtl"] .menu-panel a:not(.lang):not(.btn)::after { transform: rotate(-45deg); }
.menu-panel a[aria-current="page"]::after { opacity: 1 !important; }
.menu[open] .menu-panel > * { animation: menu-item .38s ease-out both; }
.menu[open] .menu-panel > :nth-child(2) { animation-delay: .05s; }
.menu[open] .menu-panel > :nth-child(3) { animation-delay: .1s; }
.menu[open] .menu-panel > :nth-child(4) { animation-delay: .15s; }
.menu[open] .menu-panel > :nth-child(5) { animation-delay: .2s; }
.menu[open] .menu-panel > :nth-child(6) { animation-delay: .25s; }
@keyframes menu-item { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes spin-in { from { transform: rotate(-90deg); opacity: 0; } to { transform: none; opacity: 1; } }
@media (hover: hover) { .brand:hover svg { transform: scale(1.07); } }

/* hero: a gold line draws under the headline, the mark rises in, a ring with a gold satellite circles the plate, the main button breathes */
.hero h1 .accent { position: relative; }
.hero h1 .accent::after { content: ""; position: absolute; inset-inline-start: 0; top: 100%; width: min(100%, 5.5em); height: 3px; margin-top: 10px; border-radius: 3px; background: linear-gradient(90deg, var(--gold-bright), rgba(217, 165, 33, 0)); transform-origin: 0 50%; animation: draw 1.1s 1s ease-out backwards; }
[dir="rtl"] .hero h1 .accent::after { background: linear-gradient(270deg, var(--gold-bright), rgba(217, 165, 33, 0)); transform-origin: 100% 50%; }
.hero .lead { margin-top: 32px; }
@keyframes draw { from { transform: scaleX(0); } }
.persp { animation: mark-in 1.5s .3s cubic-bezier(.2, .8, .2, 1) backwards; }
@keyframes mark-in { from { opacity: 0; transform: translateY(26px) scale(.9); } }
.plate::after { content: ""; position: absolute; top: 50%; left: 50%; width: 100%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; border: 1px dashed rgba(240, 199, 94, .5);
  background: radial-gradient(circle at 50% 0, var(--gold-light) 0 4px, transparent 5px); animation: orbit 26s linear infinite; pointer-events: none; }
@keyframes orbit { to { rotate: 360deg; } }
.hero .btn-gold { animation: cta-breathe 3.4s 2.2s ease-in-out infinite; }
@keyframes cta-breathe { 0%, 100% { box-shadow: 0 0 0 0 rgba(217, 165, 33, 0); } 50% { box-shadow: 0 0 0 10px rgba(217, 165, 33, .16); } }
@media (min-width: 769px) {
  .nav a:not([aria-current])::after { content: ""; position: absolute; inset-inline: 9px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--on-dark-2); transform: scaleX(0); transition: transform .25s ease; }
  .nav a:not([aria-current]):hover::after, .nav a:not([aria-current]):focus-visible::after { transform: scaleX(1); }
}
@media (min-width: 1041px) { .nav a:not([aria-current])::after { inset-inline: 18px; } .trust { border-radius: 32px; padding-inline: 56px; } }

/* ---------- v4: home hero background "Aurora" (approved option 1): slow soft teal glows, no grid floor, no plate ---------- */
.hero-bg.aurora { background: linear-gradient(160deg, #0A4450 0%, #062A31 55%, #060606 100%); }
.aurora .au { position: absolute; display: block; }
.aurora .a1 { width: 95%; aspect-ratio: 1.2; inset-inline-start: -15%; top: -20%; background: radial-gradient(closest-side, rgba(42, 140, 153, .6), transparent); animation: au1 52s ease-in-out infinite alternate; }
.aurora .a2 { width: 90%; aspect-ratio: 1.1; inset-inline-end: -20%; bottom: -35%; background: radial-gradient(closest-side, rgba(15, 79, 88, .95), transparent); animation: au2 64s ease-in-out infinite alternate; }
.aurora .a3 { width: 60%; aspect-ratio: 1; left: 20%; top: 18%; background: radial-gradient(closest-side, rgba(165, 163, 162, .16), transparent); animation: au3 80s ease-in-out infinite alternate; }
.aurora .vig { inset: 0; background: radial-gradient(ellipse at center, transparent 50%, rgba(6, 6, 6, .6) 100%); }
.aurora .dust { position: absolute; inset: 0; overflow: hidden; }
.aurora .dust i { position: absolute; bottom: -10px; border-radius: 50%; background: rgba(240, 240, 238, .6); opacity: 0; animation: dust-rise linear infinite; }
@keyframes au1 { to { transform: translate(28%, 22%) scale(1.15); } }
@keyframes au2 { to { transform: translate(-30%, -26%) scale(1.2); } }
@keyframes au3 { to { transform: translate(40%, 30%) scale(.8); } }
@keyframes dust-rise { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: .7; } 80% { opacity: .45; } 100% { transform: translateY(-560px); opacity: 0; } }
@keyframes breathe { from { opacity: .7; scale: .94; } to { opacity: 1; scale: 1.06; } }
.stage > .halo { position: absolute; display: block; left: 50%; top: 46%; width: 92%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, rgba(129, 198, 207, .32), rgba(15, 79, 88, .12) 60%, transparent 72%); animation: breathe 14s ease-in-out infinite alternate; }
.persp { margin-bottom: 0; }
.aurora .dust i:nth-child(1) { left: 48%; width: 3px; height: 3px; animation-duration: 33s; animation-delay: -5.3s; }
.aurora .dust i:nth-child(2) { left: 85%; width: 4px; height: 4px; animation-duration: 40s; animation-delay: -10.6s; }
.aurora .dust i:nth-child(3) { left: 22%; width: 2px; height: 2px; animation-duration: 47s; animation-delay: -15.9s; }
.aurora .dust i:nth-child(4) { left: 59%; width: 3px; height: 3px; animation-duration: 32s; animation-delay: -21.2s; }
.aurora .dust i:nth-child(5) { left: 96%; width: 4px; height: 4px; animation-duration: 39s; animation-delay: -26.5s; }
.aurora .dust i:nth-child(6) { left: 33%; width: 2px; height: 2px; animation-duration: 46s; animation-delay: -31.8s; }
.aurora .dust i:nth-child(7) { left: 70%; width: 3px; height: 3px; animation-duration: 31s; animation-delay: -6.1s; }
.aurora .dust i:nth-child(8) { left: 7%; width: 4px; height: 4px; animation-duration: 38s; animation-delay: -4.4s; }
.aurora .dust i:nth-child(9) { left: 44%; width: 2px; height: 2px; animation-duration: 45s; animation-delay: -2.7s; }
.aurora .dust i:nth-child(10) { left: 81%; width: 3px; height: 3px; animation-duration: 30s; animation-delay: -23.0s; }

/* ---------- v5: lighter teal #30A4B5 (shade 6, "with treatment" approved by MESHAL): lighter gold, white text, a soft dimming veil behind the text and a darker pool behind the logo ---------- */
.hero-bg.aurora { background: linear-gradient(160deg, #41B6C8 0%, #30A4B5 50%, #238695 100%); }
.aurora .a1 { background: radial-gradient(closest-side, color-mix(in srgb, #41B6C8 65%, transparent), transparent); }
.aurora .a2 { background: radial-gradient(closest-side, color-mix(in srgb, #30A4B5 90%, transparent), transparent); }
.aurora .vig { background: radial-gradient(ellipse at center, transparent 55%, rgba(6, 6, 6, .3) 100%); }
.aurora .scr { inset: 0; background: linear-gradient(to bottom, rgba(4, 28, 34, .7) 0%, rgba(4, 28, 34, .45) 50%, transparent 72%); }
@media (min-width: 769px) {
  .aurora .scr { background: linear-gradient(to right, rgba(4, 28, 34, .66) 0%, rgba(4, 28, 34, .42) 42%, transparent 66%); }
  [dir="rtl"] .aurora .scr { background: linear-gradient(to left, rgba(4, 28, 34, .66) 0%, rgba(4, 28, 34, .42) 42%, transparent 66%); }
}
.hero h1 .accent { color: #F0C75E; }
.hero h1 .accent::after { background: linear-gradient(90deg, #F0C75E, rgba(240, 199, 94, 0)); }
[dir="rtl"] .hero h1 .accent::after { background: linear-gradient(270deg, #F0C75E, rgba(240, 199, 94, 0)); }
.hero .lead { color: #fff; }
.stage > .halo { width: 150%; aspect-ratio: 1.7; top: 44%; background: radial-gradient(closest-side, rgba(3, 24, 30, .96), rgba(3, 24, 30, .78) 50%, rgba(3, 24, 30, .3) 78%, transparent 100%); }

/* ---------- v8: trust strip on Home (text names only, no logos, no links) ---------- */
.trust { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 24px 22px; background: var(--mist); border: 1px solid var(--mist-line); border-radius: 26px; text-align: center; }
.trust-h { margin: 0; font-weight: 700; font-size: 1.02rem; line-height: 1.6; color: var(--ink); }
.trust-names { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 36px; margin: 0; padding: 0; list-style: none; }
.trust-names li { font-size: 1.08rem; font-weight: 600; letter-spacing: .01em; color: var(--ink-2); direction: ltr; }
@media (min-width: 769px) {
  .trust { flex-direction: row; justify-content: space-between; gap: 32px; padding: 26px 40px; border-radius: 30px; text-align: start; }
  .foot-trust { padding-block: 12px 56px; }
  .trust-h { font-size: 1.12rem; }
  .trust-names { justify-content: flex-end; gap: 8px 44px; }
}

/* motion is decoration only: switch all of it off when the visitor asks for less */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .mark3d { transform: rotateX(5deg) rotateY(-14deg); }
  .bg-dots, .bg-beam, .aurora .dust { display: none !important; }
  .hero h1, .hero .lead, .actions, .stage, .phero h1, .phero .lead { opacity: 1; }
}

/* ---------- help pages (v11): FAQ accordion, one-column numbered steps ---------- */
.faq { max-width: 52rem; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 20px; }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 14px 20px; cursor: pointer; color: var(--ink); font-weight: 700; line-height: 1.5; border-radius: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 9px; height: 9px; border-bottom: 2px solid var(--teal); border-inline-end: 2px solid var(--teal); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq .ans { padding: 0 20px 18px; color: var(--ink-2); line-height: 1.8; }
.faq .ans a { color: var(--teal); text-decoration: underline; }
.steps.stack { grid-template-columns: minmax(0, 1fr); max-width: 46rem; margin-inline: auto; }
.steps.stack li { padding: 18px; padding-inline-start: 68px; }
.steps.stack li::before { inset-inline-start: 16px; top: 16px; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* ---------- contact page text (v13): support blocks, company block, reply-time box ---------- */
.ccard .mail-label { margin-top: 14px; color: var(--muted); font-size: .95rem; }
.ccard .mail-label + .mail { margin-top: 6px; }
.ccards.one { max-width: 46rem; margin-inline: auto; grid-template-columns: minmax(0, 1fr); }
.ccards.one .ccard address { margin-top: 0; }
.unit-box.reply { max-width: 46rem; margin: 0 auto; display: flex; align-items: flex-start; gap: 14px; }
.unit-box.reply .ico { flex: none; width: 26px; height: 26px; margin-top: 2px; fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.unit-box.reply p { margin: 0; color: var(--ink-2); }
@media (min-width: 769px) { .ccards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1041px) { .ccards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ccards.one { grid-template-columns: minmax(0, 1fr); } }

/* ---------- contact page after the design spec (v14): three icon cards, preview-only form ---------- */
.cicon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 16px; border-radius: 16px; background: var(--mist); color: var(--teal); }
.cicon .ico { width: 26px; height: 26px; }
.ccard.wide .cicon + address { margin-top: 0; }
.preview-banner { margin: 0 auto 32px; max-width: 46rem; padding: 14px 18px; border: 1px dashed var(--gold); border-radius: 18px; background: var(--card); color: var(--ink); font-weight: 700; text-align: center; line-height: 1.7; }
.cform { max-width: 46rem; margin-inline: auto; padding: 28px 20px; background: var(--card); border: 1px solid var(--line); border-radius: 26px; display: grid; gap: 18px; }
.cform .field label { display: block; margin-bottom: 8px; color: var(--ink); font-weight: 700; }
.cform input, .cform select, .cform textarea { display: block; width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid #B9B7B3; border-radius: 16px; background: var(--paper); color: var(--ink); font: inherit; font-size: 1rem; }
.cform textarea { min-height: 150px; resize: vertical; line-height: 1.7; }
.cform .ltr-in { direction: ltr; text-align: start; }
[dir="rtl"] .cform .ltr-in { text-align: right; }
.cform input:focus-visible, .cform select:focus-visible, .cform textarea:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 2px; border-color: var(--teal); }
.cform .btn { justify-self: start; border: 0; cursor: pointer; min-height: 52px; font: inherit; font-weight: 700; }
@media (min-width: 769px) { .cform { padding: 36px 36px; } }

/* ---------- About page after the structure of 2026-10-20 (v15): vision and mission, five cards, principles, accordion, dark call to action ---------- */
.phero .lead-2 { margin-top: 14px; color: #E3E2E0; font-size: 1rem; }
.vmgrid { display: grid; gap: 14px; }
.vmcard { padding: 28px 22px; background: var(--card); border: 1px solid var(--line); border-radius: 26px; }
.vmcard h2 { margin-top: 10px; font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2rem); line-height: 1.3; }
.vmcard p:last-child { margin-top: 14px; color: var(--ink-2); font-size: 1.02rem; line-height: 1.85; }
.wgrid { display: grid; gap: 14px; }
.wcard { padding: 24px 20px; background: var(--card); border: 1px solid var(--line); border-radius: 26px; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.wcard h3 { font-size: 1.15rem; line-height: 1.4; }
.wcard p { margin-top: 8px; color: var(--ink-2); font-size: .98rem; line-height: 1.75; }
.wcard .cicon { transition: background-color .25s ease, color .25s ease; }
@media (hover: hover) { .wcard:hover { transform: translateY(-4px); border-color: var(--teal); box-shadow: 0 14px 30px rgba(15, 79, 88, .12); } .wcard:hover .cicon { background: var(--teal); color: #fff; } }
.meth summary { flex-wrap: wrap; justify-content: flex-start; gap: 4px 12px; padding-inline-end: 52px; position: relative; }
.meth summary::after { position: absolute; inset-inline-end: 20px; top: 50%; margin-top: -6px; }
.meth .mk { color: var(--teal); font-weight: 700; }
.meth .mk::after { content: "|"; margin-inline-start: 12px; color: var(--silver); font-weight: 400; }
.meth .mt { color: var(--ink); font-weight: 700; }
.cta-dark { text-align: center; padding: 44px 22px 36px; border-radius: 26px; background: var(--teal); color: var(--on-dark); }
.cta-dark .eyebrow { justify-content: center; color: var(--gold-light); }
.cta-dark .eyebrow::before { background: var(--gold-bright); }
.cta-dark h2 { margin-top: 10px; color: #fff; }
.cta-dark .cta-text { margin: 18px auto 0; max-width: 40rem; color: var(--on-dark-2); line-height: 1.85; }
.cta-dark .btn { margin-top: 26px; }
.cta-dark .cta-close { margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(242, 242, 241, .28); color: var(--on-dark-2); font-size: .95rem; }
@media (min-width: 600px) { .wgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 769px) { .vmgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } .vmcard { padding: 36px 32px; } .cta-dark { padding: 60px 40px 44px; border-radius: 30px; } }
@media (min-width: 1041px) { .wgrid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; } .wgrid .wcard { grid-column: span 2; } .wgrid .wcard:nth-child(4) { grid-column: 2 / span 2; } .wgrid .wcard:nth-child(5) { grid-column: 4 / span 2; } .cta-dark { padding: 72px 64px 52px; border-radius: 32px; } }
@media (prefers-reduced-motion: reduce) { .wcard, .wcard .cicon { transition: none; } .wcard:hover { transform: none; } }

/* v16: Products page - Features grid, supported-files box, "Good to know" band */
.fgrid { display: grid; gap: 14px; }
.files-box { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 16px; margin-top: 18px; padding: 20px; }
.files-box .cicon { margin-bottom: 0; background: var(--card); }
.files-box p { line-height: 1.8; }
.gtk { max-width: 46rem; margin: 0 auto; text-align: center; color: var(--on-dark); font-size: 1.04rem; line-height: 1.9; }
@media (min-width: 600px) { .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .files-box { padding: 24px 28px; } }
@media (min-width: 1041px) { .fgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } .files-box { margin-top: 24px; } }

/* v17: Products, About and Contact heroes (MESHAL 2026-10-20 14:57): the animated background is gone. Same teal gradient as the Home hero (.hero-bg.aurora, v5 block above), static, with its soft vignette and a flat dimming veil so the white and gold text keeps its contrast. No glows, dots, grid floor or drifting layers on these pages. */
.phero.flat .aurora .scr { background: rgba(4, 28, 34, .56); }
@media (min-width: 769px) {
  .phero.flat .aurora .scr { background: linear-gradient(to right, rgba(4, 28, 34, .56) 0%, rgba(4, 28, 34, .5) 58%, rgba(4, 28, 34, .2) 100%); }
  [dir="rtl"] .phero.flat .aurora .scr { background: linear-gradient(to left, rgba(4, 28, 34, .56) 0%, rgba(4, 28, 34, .5) 58%, rgba(4, 28, 34, .2) 100%); }
}

/* v19: "Suggest a new feature" page (MESHAL 2026-10-20 15:52): centred title and welcome text, one prominent email call to action. No form. */
.phero.center .wrap { text-align: center; padding-block: 44px 72px; }
.phero.center .eyebrow { justify-content: center; margin-inline: auto; }
.phero.flat.center .aurora .scr { background: rgba(4, 28, 34, .56); }
.sfwrap { max-width: 50rem; }
.sf-intro { max-width: 40rem; margin: 0 auto 48px; text-align: center; }
.sf-intro p { color: var(--ink-2); font-size: 1.1rem; line-height: 2; }
.sf-cta { max-width: 40rem; margin: 0 auto; padding: 40px 22px; text-align: center; background: var(--mist); border: 1px solid var(--mist-line); border-radius: 26px; }
.sf-lead { color: var(--ink); font-size: 1.15rem; font-weight: 700; line-height: 1.8; }
.sf-mail { margin-top: 22px; max-width: 100%; min-height: 56px; padding-inline: 28px; font-size: 1.05rem; overflow-wrap: anywhere; }
.sf-mail .ico { flex: none; }
@media (min-width: 769px) { .sf-intro { margin-bottom: 64px; } .sf-cta { padding: 56px 40px; border-radius: 30px; } .sf-lead { font-size: 1.3rem; } .sf-mail { min-height: 60px; padding-inline: 36px; font-size: 1.15rem; } .phero.center .wrap { padding-block: 56px 88px; } }

/* ---- generated by build.py: extrusion layers of the 3D mark (back layers darker); depth scales with --dz ---- */
.mark3d .s1 { fill: #8C9496; transform: translateZ(calc(var(--dz) * -1)); }
.mark3d .s2 { fill: #828B8D; transform: translateZ(calc(var(--dz) * -2)); }
.mark3d .s3 { fill: #7B8486; transform: translateZ(calc(var(--dz) * -3)); }
.mark3d .s4 { fill: #747E80; transform: translateZ(calc(var(--dz) * -4)); }
.mark3d .s5 { fill: #6E787A; transform: translateZ(calc(var(--dz) * -5)); }
.mark3d .s6 { fill: #687275; transform: translateZ(calc(var(--dz) * -6)); }
.mark3d .s7 { fill: #626D70; transform: translateZ(calc(var(--dz) * -7)); }
.mark3d .s8 { fill: #5D686B; transform: translateZ(calc(var(--dz) * -8)); }
.mark3d .s9 { fill: #586366; transform: translateZ(calc(var(--dz) * -9)); }
.mark3d .s10 { fill: #535E61; transform: translateZ(calc(var(--dz) * -10)); }
.mark3d .s11 { fill: #4E595C; transform: translateZ(calc(var(--dz) * -11)); }
.mark3d .s12 { fill: #495558; transform: translateZ(calc(var(--dz) * -12)); }
.mark3d .s13 { fill: #445053; transform: translateZ(calc(var(--dz) * -13)); }
.mark3d .s14 { fill: #3F4C4F; transform: translateZ(calc(var(--dz) * -14)); }
.mark3d .s15 { fill: #3A474B; transform: translateZ(calc(var(--dz) * -15)); }
.mark3d .s16 { fill: #364346; transform: translateZ(calc(var(--dz) * -16)); }
.mark3d .s17 { fill: #313F42; transform: translateZ(calc(var(--dz) * -17)); }
.mark3d .s18 { fill: #2D3A3E; transform: translateZ(calc(var(--dz) * -18)); }
.mark3d .s19 { fill: #28363A; transform: translateZ(calc(var(--dz) * -19)); }
.mark3d .s20 { fill: #243236; transform: translateZ(calc(var(--dz) * -20)); }
.mark3d .s21 { fill: #1F2E32; transform: translateZ(calc(var(--dz) * -21)); }
.mark3d .s22 { fill: #1B2A2E; transform: translateZ(calc(var(--dz) * -22)); }
.mark3d .s23 { fill: #17262A; transform: translateZ(calc(var(--dz) * -23)); }
.mark3d .s24 { fill: #122226; transform: translateZ(calc(var(--dz) * -24)); }
.mark3d .s25 { fill: #0E1E22; transform: translateZ(calc(var(--dz) * -25)); }
.mark3d .s26 { fill: #0A1A1E; transform: translateZ(calc(var(--dz) * -26)); }
